Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.1/patches/2233222/?format=api
{ "id": 2233222, "url": "http://patchwork.ozlabs.org/api/1.1/patches/2233222/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260505202640.1011006-6-peterx@redhat.com/", "project": { "id": 14, "url": "http://patchwork.ozlabs.org/api/1.1/projects/14/?format=api", "name": "QEMU Development", "link_name": "qemu-devel", "list_id": "qemu-devel.nongnu.org", "list_email": "qemu-devel@nongnu.org", "web_url": "", "scm_url": "", "webscm_url": "" }, "msgid": "<20260505202640.1011006-6-peterx@redhat.com>", "date": "2026-05-05T20:26:22", "name": "[PULL,05/23] migration/qapi: Rename MigrationStats to MigrationRAMStats", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "c07132ddbbdb1ad92ffdace804fca3eb1666ee2b", "submitter": { "id": 67717, "url": "http://patchwork.ozlabs.org/api/1.1/people/67717/?format=api", "name": "Peter Xu", "email": "peterx@redhat.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260505202640.1011006-6-peterx@redhat.com/mbox/", "series": [ { "id": 502897, "url": "http://patchwork.ozlabs.org/api/1.1/series/502897/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=502897", "date": "2026-05-05T20:26:17", "name": "[PULL,01/23] migration: Fix blocking in POSTCOPY_DEVICE during package load", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/502897/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2233222/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2233222/checks/", "tags": {}, "headers": { "Return-Path": "<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@legolas.ozlabs.org", "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=gDRB13V2;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=google header.b=k+jlNbvU;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org\n (client-ip=209.51.188.17; helo=lists1p.gnu.org;\n envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n receiver=patchwork.ozlabs.org)" ], "Received": [ "from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17])\n\t(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g999K50Snz1yJV\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 06 May 2026 06:29:41 +1000 (AEST)", "from localhost ([::1] helo=lists1p.gnu.org)\n\tby lists1p.gnu.org with esmtp (Exim 4.90_1)\n\t(envelope-from <qemu-devel-bounces@nongnu.org>)\n\tid 1wKMM7-0004QE-Lg; Tue, 05 May 2026 16:26:59 -0400", "from eggs.gnu.org ([2001:470:142:3::10])\n by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <peterx@redhat.com>) id 1wKMM3-0004Nm-4o\n for qemu-devel@nongnu.org; Tue, 05 May 2026 16:26:55 -0400", "from us-smtp-delivery-124.mimecast.com ([170.10.133.124])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <peterx@redhat.com>) id 1wKMM1-0002ak-7J\n for qemu-devel@nongnu.org; Tue, 05 May 2026 16:26:54 -0400", "from mail-qv1-f70.google.com (mail-qv1-f70.google.com\n [209.85.219.70]) by relay.mimecast.com with ESMTP with STARTTLS\n (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id\n us-mta-628-HqivzLA_Pcy_nt-7xQ6muw-1; Tue, 05 May 2026 16:26:51 -0400", "by mail-qv1-f70.google.com with SMTP id\n 6a1803df08f44-8acaea1ffe7so142713396d6.2\n for <qemu-devel@nongnu.org>; Tue, 05 May 2026 13:26:51 -0700 (PDT)", "from x1.com ([142.189.10.167]) by smtp.gmail.com with ESMTPSA id\n 6a1803df08f44-8b53c6b8123sm155283806d6.35.2026.05.05.13.26.48\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 05 May 2026 13:26:49 -0700 (PDT)" ], "DKIM-Signature": [ "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1778012812;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=CmjHBJ8XbN1QfelMZFqFN+lYGBuxnVmoSMYFNc5rg38=;\n b=gDRB13V2MOs1Z1tqyDfFttU38GGHLGH7euRxNZEHRELkE1OZHCZr4jnaRIEJC7b3aAHmbY\n NsyuWRIkqor4eRjBbsVTtKuPCCWUrlz9l79ZxC8ALZhmObjiN0oubdhc7CBwmL3VdhYbjK\n ztxTEb5A3/sE15RBjZszrvIC0Kz2dRs=", "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=redhat.com; s=google; t=1778012811; x=1778617611; darn=nongnu.org;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=CmjHBJ8XbN1QfelMZFqFN+lYGBuxnVmoSMYFNc5rg38=;\n b=k+jlNbvUx4UyBHFw0aeUBdgp0tLuaF2eFdDJJ3fh8jt+sM+715Rcs2ZkpBz6zUCGrj\n xMALEKskjcw4yhlCDib/kIZKS+IJ3FH0DtQYLLWVGvUErFE28d9RJkB5HbFfSHFyKgKC\n 87R4xPnsZ0zA1oQ58T7iqLFV3ubdO4XTadnk1vBvoXIR9zeD3N1RhYbEIFxmq2CutQVk\n t6017VcWZknUh2mi0ah/C2sxCSLTFwPrGxEI/CdkQCEJgTzG2uVeRWeNxxtUQCm7Vwxj\n geF6BV50x0S4qHb1ZWiXg4rYSnSd6oCmlPN/WTUqtJBO/ICzRhETuadGJYtVJaQcjAyj\n 2rOQ==" ], "X-MC-Unique": "HqivzLA_Pcy_nt-7xQ6muw-1", "X-Mimecast-MFC-AGG-ID": "HqivzLA_Pcy_nt-7xQ6muw_1778012811", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1778012811; x=1778617611;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n :to:cc:subject:date:message-id:reply-to;\n bh=CmjHBJ8XbN1QfelMZFqFN+lYGBuxnVmoSMYFNc5rg38=;\n b=Penf8UThmY7DXW8cbBajXiP0CllY+7FLmaCicMe+64Q1SGv0cM3TdyfAIVzpfGkKHM\n paeNmoywK269I/Gtol5RPtQbTwGD9oNn/84yMzuAw37u4ttheF2HO7tu6TO6FDV1BljB\n /4PZ5xYNVQjExh3V4BRHKKPoqvQ0BuvDFSeUVeg9RFqfApzdho9Aj39hAQicocpbXaRb\n dqiW+px3EwYCn+g8ivWGUEsqRNIqKKi54tvjLKWOjT1eWsGoEmoNUuYn+G6vhQqlh5LK\n ocEDFC4gO0nx76l1uVkNlz3mbpQ7AD4l0hqczIUoDouOn0RFaFYQyZu34K6HKeZKvC8l\n EGDg==", "X-Gm-Message-State": "AOJu0YwDMlUzd/gjjOQsPiW9d5z0KWaV1BvCL0yFmVpaEqlEAb7RQYQn\n Oi02FOzzzUSF3Ynzo2SWVrzKxbWApNPC7HP5lHFveS8CqzxRmDcWvVXQOIBAukbSpF190XRldcr\n ug3AQVL1CBnSOv2/3GQOtHeiqPtSp5W7baA8jCan5Oyu1JfqKpN6ruW2Zqnj/v4IiPU3tdHfayL\n UlFedCxQ/D7tI4EGf6Ayr9NcuNKern6okBpOuN1Q==", "X-Gm-Gg": "AeBDieuO4ARDlsyYkemkGFxiLRnQtdX4KS3elHBXMZylXYzlEmGOfAzXeToqjl3jEBo\n tNNkuw8M7Z1/FVPlwoTzLATcfNUwP9kif3mZxSTE3OyvQMOD83xHQozWgawT3bNyhMcDYRfGcOx\n xXg6njCCmGAikhAPdgp5tVsYLY7n3pH9zYIm3ie80rb0TXYa89VmAGoyvXSqbdPODSlYCsn4i0g\n NlyRZQO9blbPmo/gZqB5W/2QEw5drHOtg1C+uSBWWlwW/gwfqNt/r/B8GLrAOw5d+f89IEHR/9I\n J2P8o/BMSYNz+sryb4CkcMKecl9XPl8HnLgTHBNmUIkIObBJivWc7TKIV4p7xKmGc5/AuHpS1JU\n z0Lja7LUo1RgRxp3TOA4v59Fw3RBwoWndLYMvKG9kRhEVVffcEf6tyzg=", "X-Received": [ "by 2002:ad4:5de4:0:b0:8b8:726a:74d4 with SMTP id\n 6a1803df08f44-8bc42b6c5d7mr4961986d6.16.1778012810535;\n Tue, 05 May 2026 13:26:50 -0700 (PDT)", "by 2002:ad4:5de4:0:b0:8b8:726a:74d4 with SMTP id\n 6a1803df08f44-8bc42b6c5d7mr4961096d6.16.1778012809818;\n Tue, 05 May 2026 13:26:49 -0700 (PDT)" ], "From": "Peter Xu <peterx@redhat.com>", "To": "qemu-devel@nongnu.org", "Cc": "Fabiano Rosas <farosas@suse.de>, Paolo Bonzini <pbonzini@redhat.com>,\n Peter Xu <peterx@redhat.com>,\n =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= <berrange@redhat.com>,\n devel@lists.libvirt.org, Markus Armbruster <armbru@redhat.com>,\n Juraj Marcin <jmarcin@redhat.com>, Michal Privoznik <mprivozn@redhat.com>", "Subject": "[PULL 05/23] migration/qapi: Rename MigrationStats to\n MigrationRAMStats", "Date": "Tue, 5 May 2026 16:26:22 -0400", "Message-ID": "<20260505202640.1011006-6-peterx@redhat.com>", "X-Mailer": "git-send-email 2.53.0", "In-Reply-To": "<20260505202640.1011006-1-peterx@redhat.com>", "References": "<20260505202640.1011006-1-peterx@redhat.com>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=UTF-8", "Content-Transfer-Encoding": "8bit", "Received-SPF": "pass client-ip=170.10.133.124; envelope-from=peterx@redhat.com;\n helo=us-smtp-delivery-124.mimecast.com", "X-Spam_score_int": "-24", "X-Spam_score": "-2.5", "X-Spam_bar": "--", "X-Spam_report": "(-2.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.443,\n DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,\n RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001,\n SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no", "X-Spam_action": "no action", "X-BeenThere": "qemu-devel@nongnu.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "qemu development <qemu-devel.nongnu.org>", "List-Unsubscribe": "<https://lists.nongnu.org/mailman/options/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>", "List-Archive": "<https://lists.nongnu.org/archive/html/qemu-devel>", "List-Post": "<mailto:qemu-devel@nongnu.org>", "List-Help": "<mailto:qemu-devel-request@nongnu.org?subject=help>", "List-Subscribe": "<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=subscribe>", "Errors-To": "qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org", "Sender": "qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org" }, "content": "This stats is only about RAM, make it accurate. This paves way for\nstatistics for all devices.\n\nThanks to Markus, who pointed out that docs/devel/qapi-code-gen.rst has a\nsection \"Compatibility considerations\" stated:\n\n Since type names are not visible in the Client JSON Protocol, types\n may be freely renamed. Even certain refactorings are invisible, such\n as splitting members from one type into a common base type.\n\nHence this change is not ABI violation according to the document.\n\nWhile at it, touch up the lines to make it read better, correct the\nrestriction on migration status being 'active' or 'completed': over time we\ngrew too many new status that will also report \"ram\" section.\n\nCc: Daniel P. Berrangé <berrange@redhat.com>\nCc: devel@lists.libvirt.org\nReviewed-by: Markus Armbruster <armbru@redhat.com>\nReviewed-by: Juraj Marcin <jmarcin@redhat.com>\nReviewed-by: Michal Privoznik <mprivozn@redhat.com>\nLink: https://lore.kernel.org/r/20260421202110.306051-4-peterx@redhat.com\nSigned-off-by: Peter Xu <peterx@redhat.com>\n---\n docs/about/removed-features.rst | 2 +-\n qapi/migration.json | 10 +++++-----\n migration/migration-stats.h | 2 +-\n 3 files changed, 7 insertions(+), 7 deletions(-)", "diff": "diff --git a/docs/about/removed-features.rst b/docs/about/removed-features.rst\nindex e75db08410..626162022a 100644\n--- a/docs/about/removed-features.rst\n+++ b/docs/about/removed-features.rst\n@@ -699,7 +699,7 @@ was superseded by ``sections``.\n ``query-migrate`` return value member ``skipped`` (removed in 9.1)\n ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''\n \n-Member ``skipped`` of the ``MigrationStats`` struct hasn't been used\n+Member ``skipped`` of the ``MigrationRAMStats`` struct hasn't been used\n for more than 10 years. Removed with no replacement.\n \n ``migrate`` command option ``inc`` (removed in 9.1)\ndiff --git a/qapi/migration.json b/qapi/migration.json\nindex 0db115ec5e..ed475e4261 100644\n--- a/qapi/migration.json\n+++ b/qapi/migration.json\n@@ -12,7 +12,7 @@\n { 'include': 'sockets.json' }\n \n ##\n-# @MigrationStats:\n+# @MigrationRAMStats:\n #\n # Detailed migration status.\n #\n@@ -64,7 +64,7 @@\n #\n # Since: 0.14\n ##\n-{ 'struct': 'MigrationStats',\n+{ 'struct': 'MigrationRAMStats',\n 'data': {'transferred': 'int', 'remaining': 'int', 'total': 'int' ,\n 'duplicate': 'int',\n 'normal': 'int',\n@@ -209,8 +209,8 @@\n # If this field is not returned, no migration process has been\n # initiated\n #\n-# @ram: `MigrationStats` containing detailed migration status, only\n-# returned if status is 'active' or 'completed'(since 1.2)\n+# @ram: Detailed migration RAM statistics, only returned if migration\n+# is in progress or completed (since 1.2)\n #\n # @xbzrle-cache: `XBZRLECacheStats` containing detailed XBZRLE\n # migration statistics, only returned if XBZRLE feature is on and\n@@ -309,7 +309,7 @@\n # Since: 0.14\n ##\n { 'struct': 'MigrationInfo',\n- 'data': {'*status': 'MigrationStatus', '*ram': 'MigrationStats',\n+ 'data': {'*status': 'MigrationStatus', '*ram': 'MigrationRAMStats',\n '*vfio': 'VfioStats',\n '*xbzrle-cache': 'XBZRLECacheStats',\n '*total-time': 'int',\ndiff --git a/migration/migration-stats.h b/migration/migration-stats.h\nindex c0f50144c9..1153520f7a 100644\n--- a/migration/migration-stats.h\n+++ b/migration/migration-stats.h\n@@ -27,7 +27,7 @@\n \n /*\n * These are the ram migration statistic counters. It is loosely\n- * based on MigrationStats.\n+ * based on MigrationRAMStats.\n */\n typedef struct {\n /*\n", "prefixes": [ "PULL", "05/23" ] }