get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/2225930/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2225930,
    "url": "http://patchwork.ozlabs.org/api/patches/2225930/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260421202110.306051-16-peterx@redhat.com/",
    "project": {
        "id": 14,
        "url": "http://patchwork.ozlabs.org/api/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": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260421202110.306051-16-peterx@redhat.com>",
    "list_archive_url": null,
    "date": "2026-04-21T20:21:09",
    "name": "[v2,15/16] migration/qapi: Update unit for avail-switchover-bandwidth",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "95a1c14541a8f246e29228293e784fa54dd2055c",
    "submitter": {
        "id": 67717,
        "url": "http://patchwork.ozlabs.org/api/people/67717/?format=api",
        "name": "Peter Xu",
        "email": "peterx@redhat.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260421202110.306051-16-peterx@redhat.com/mbox/",
    "series": [
        {
            "id": 500889,
            "url": "http://patchwork.ozlabs.org/api/series/500889/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=500889",
            "date": "2026-04-21T20:20:55",
            "name": "migration/vfio: Fix a few issues on API misuse or statistic reports",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/500889/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2225930/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2225930/checks/",
    "tags": {},
    "related": [],
    "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=YQ/gljPa;\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=oeH/eo+A;\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 4g0YgZ2h7kz1yGs\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 22 Apr 2026 06:22:34 +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 1wFHbN-00015k-TK; Tue, 21 Apr 2026 16:21:45 -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 1wFHbK-00011X-Lq\n for qemu-devel@nongnu.org; Tue, 21 Apr 2026 16:21:43 -0400",
            "from us-smtp-delivery-124.mimecast.com ([170.10.129.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 1wFHbJ-0008Th-41\n for qemu-devel@nongnu.org; Tue, 21 Apr 2026 16:21:42 -0400",
            "from mail-qv1-f69.google.com (mail-qv1-f69.google.com\n [209.85.219.69]) by relay.mimecast.com with ESMTP with STARTTLS\n (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id\n us-mta-679-eGE0dn9OM_KWDoy7HoIH5A-1; Tue, 21 Apr 2026 16:21:39 -0400",
            "by mail-qv1-f69.google.com with SMTP id\n 6a1803df08f44-8a5f6110c1cso116742626d6.0\n for <qemu-devel@nongnu.org>; Tue, 21 Apr 2026 13:21:39 -0700 (PDT)",
            "from x1.local ([142.189.10.167]) by smtp.gmail.com with ESMTPSA id\n 6a1803df08f44-8b02ae5c26csm114343556d6.31.2026.04.21.13.21.36\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 21 Apr 2026 13:21:36 -0700 (PDT)"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1776802900;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=2hINx3Pl7mMgpNmHdkNkzZeehT6CitLSjSALu0u8E0o=;\n b=YQ/gljPaOVKyh4ZTwkDhWm+Zo+uv0fTpp4WAUBey6QybkUX6LQAiG14a725dRcB4PMNDxR\n RD2brSD7lYzT2gbNpcEmYLK8Bk4dWXNHo4cLwc2bRW2LIVtw8Vfaa7pwrurjNaJS1U/AgR\n sd0hLbR6L48B2T+Et88+ySyu3/XIXXY=",
            "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=redhat.com; s=google; t=1776802898; x=1777407698; 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=2hINx3Pl7mMgpNmHdkNkzZeehT6CitLSjSALu0u8E0o=;\n b=oeH/eo+AOSrF61qPlJ166uWV6huSsNw5pdYkNetwhJdK+IY54hjwoMEGro9nI0BZKo\n My2n03XsvqiSFua7HcTxw1k02DkxPtEGJJMJ7RomJwPYau32Bv3PGNsikTksSXHyzbY/\n 9VjGBEmocD3g/Nn9V+uqj4KsaE2daH/TWaHCQqQ+4qH5vgkc6xdirp0z4zEneNidJzbQ\n Ix7cXgkqQq4+mzZlP6bMroMLZBb//Hg+QejI6RXrbEqkLpKNe67r3iD/ZcGwaRtY1Kjj\n COFVagJzgoq3O+aa9NywkHhzN2h3dh1eW6BK7jBfSLqUT37jWC7tqztpeU2BwDfqSRcI\n 2OzQ=="
        ],
        "X-MC-Unique": "eGE0dn9OM_KWDoy7HoIH5A-1",
        "X-Mimecast-MFC-AGG-ID": "eGE0dn9OM_KWDoy7HoIH5A_1776802898",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1776802898; x=1777407698;\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=2hINx3Pl7mMgpNmHdkNkzZeehT6CitLSjSALu0u8E0o=;\n b=ftVO28XHYOWfHqS9EksW5XUedYzqcaTCVf+1k25TCeZ6i/Q1ovRZChhahT7tofIdW9\n JdCAYZHnd/K0jM0aH5Pj6RxFt3J8kJcpSke/RTJjbeo4nLeLaiTHTNkjnPZlDw6zivCf\n AhoqV+QjLu4RAmtYvmKOItX1+3zfd5p9LnfSG1F9TnRdItnI/1ORyCeuJsLAI6c6p26x\n 7f48HPIy5aIBOx9B8YsY5Q0gKnct//1VwA2zIqhJKqmRqG+wA7ytPeSsx1YO15rLbuVV\n D0HXH2P/3kpINSUFOFOk8RcDZwuNjzqJJzJY6iWmLepaMsK1zGnmHisGQsuOO4YiO94y\n z9Fg==",
        "X-Gm-Message-State": "AOJu0YyDRLsD4yxgY5IDpgD2Bhv6VAWPU5uX76+2Z0FLjCyVN9b2htNQ\n vw5QV9W7C0mGVYOl5xqznbuK9Tw/Ihn60cYURA5sk8viKqMDHMaJ1Vy5o1cru1561QGOHedYvvW\n G8VcqrzoDE+jaPc/6MA/PlgY6PcSpTbOxUonzPEfEM6po0d1VkjkEA5x238II5uAbIjNRIK8k22\n PNLfm5yDUETnNdd1BikqWasqRoQN+oSW8zhVmJuA==",
        "X-Gm-Gg": "AeBDieuyDpQWXydlWXJvXnXo/9/VzjIGt6ve6/KB/OxSx48+C666kTxLjXtDhVGsvw/\n KWYlgJs1d+C1y1xAbmRAL1bBcjyL8xaPzdVUAwsfW77RETgXad18jQwMJobmSwm9vaZcIlvLCSp\n CJitrIzy3dO9CeazAXSTkpE0fy2a7D746CPgiIxkqnj9Tp4QRTuwjN2UU4jcEoiY/BTGIvQXQbm\n 5m6RJx5wa6/64jux5/24w7MzuqfTpeOUNKL0lvk5ua9WjeuDZreIYKmWXW3Eh70LWWhRSh8W9yt\n dASsrGbza4691ljLD3VWo8+82gl8ce/HTuNATKO/HUk8PJMlNh/AxtdlZQjw5kw8KXjFvo/X2Ei\n cywsqarvUdyQBqxBjgx7F/KUTtG92ir7KI9ssul73UGq9V4op3Oi7sd6/Yg==",
        "X-Received": [
            "by 2002:a05:6214:4588:b0:8ac:a154:e156 with SMTP id\n 6a1803df08f44-8b0280cc08cmr327337456d6.29.1776802898141;\n Tue, 21 Apr 2026 13:21:38 -0700 (PDT)",
            "by 2002:a05:6214:4588:b0:8ac:a154:e156 with SMTP id\n 6a1803df08f44-8b0280cc08cmr327336806d6.29.1776802897575;\n Tue, 21 Apr 2026 13:21:37 -0700 (PDT)"
        ],
        "From": "Peter Xu <peterx@redhat.com>",
        "To": "qemu-devel@nongnu.org",
        "Cc": "Joao Martins <joao.m.martins@oracle.com>,\n Markus Armbruster <armbru@redhat.com>,\n =?utf-8?q?C=C3=A9dric_Le_Goater?= <clg@redhat.com>,\n Avihai Horon <avihaih@nvidia.com>,\n =?utf-8?q?Daniel_P_=2E_Berrang=C3=A9?= <berrange@redhat.com>,\n Fabiano Rosas <farosas@suse.de>, Prasad Pandit <ppandit@redhat.com>,\n Alex Williamson <alex@shazbot.org>, Kirti Wankhede <kwankhede@nvidia.com>,\n Zhiyi Guo <zhguo@redhat.com>, Peter Xu <peterx@redhat.com>,\n \"Maciej S . Szmigiero\" <mail@maciej.szmigiero.name>,\n Juraj Marcin <jmarcin@redhat.com>",
        "Subject": "[PATCH v2 15/16] migration/qapi: Update unit for\n avail-switchover-bandwidth",
        "Date": "Tue, 21 Apr 2026 16:21:09 -0400",
        "Message-ID": "<20260421202110.306051-16-peterx@redhat.com>",
        "X-Mailer": "git-send-email 2.53.0",
        "In-Reply-To": "<20260421202110.306051-1-peterx@redhat.com>",
        "References": "<20260421202110.306051-1-peterx@redhat.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Received-SPF": "pass client-ip=170.10.129.124; envelope-from=peterx@redhat.com;\n helo=us-smtp-delivery-124.mimecast.com",
        "X-Spam_score_int": "-20",
        "X-Spam_score": "-2.1",
        "X-Spam_bar": "--",
        "X-Spam_report": "(-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001,\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_H4=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": "Add \", in bytes per second\".  Unfortunately indentations need to be updated\ncompletely, but no change on the rest.\n\nCc: Markus Armbruster <armbru@redhat.com>\nSuggested-by: Juraj Marcin <jmarcin@redhat.com>\nReviewed-by: Juraj Marcin <jmarcin@redhat.com>\nSigned-off-by: Peter Xu <peterx@redhat.com>\n---\n qapi/migration.json | 18 +++++++++---------\n 1 file changed, 9 insertions(+), 9 deletions(-)",
    "diff": "diff --git a/qapi/migration.json b/qapi/migration.json\nindex a6e24b5685..b7518b29c6 100644\n--- a/qapi/migration.json\n+++ b/qapi/migration.json\n@@ -921,15 +921,15 @@\n #     (Since 2.8)\n #\n # @avail-switchover-bandwidth: to set the available bandwidth that\n-#     migration can use during switchover phase.  **Note:** this does\n-#     not limit the bandwidth during switchover, but only for\n-#     calculations when making decisions to switchover.  By default,\n-#     this value is zero, which means QEMU will estimate the bandwidth\n-#     automatically.  This can be set when the estimated value is not\n-#     accurate, while the user is able to guarantee such bandwidth is\n-#     available when switching over.  When specified correctly, this\n-#     can make the switchover decision much more accurate.\n-#     (Since 8.2)\n+#     migration can use during switchover phase, in bytes per\n+#     second.  **Note:** this does not limit the bandwidth during\n+#     switchover, but only for calculations when making decisions to\n+#     switchover.  By default, this value is zero, which means QEMU\n+#     will estimate the bandwidth automatically.  This can be set\n+#     when the estimated value is not accurate, while the user is\n+#     able to guarantee such bandwidth is available when switching\n+#     over.  When specified correctly, this can make the switchover\n+#     decision much more accurate.  (Since 8.2)\n #\n # @downtime-limit: set maximum tolerated downtime for migration.\n #     maximum downtime in milliseconds (Since 2.8)\n",
    "prefixes": [
        "v2",
        "15/16"
    ]
}