get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2215825,
    "url": "http://patchwork.ozlabs.org/api/patches/2215825/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260325113644.175108-1-d-tatianin@yandex-team.ru/",
    "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": "<20260325113644.175108-1-d-tatianin@yandex-team.ru>",
    "list_archive_url": null,
    "date": "2026-03-25T11:36:44",
    "name": "[v1] docs/vhost-user: clarify the semantics of VHOST_USER_SET_VRING_ENABLE",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "1adbaeff0d1d927a786b258591d3490223e6822e",
    "submitter": {
        "id": 82904,
        "url": "http://patchwork.ozlabs.org/api/people/82904/?format=api",
        "name": "Daniil Tatianin",
        "email": "d-tatianin@yandex-team.ru"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260325113644.175108-1-d-tatianin@yandex-team.ru/mbox/",
    "series": [
        {
            "id": 497426,
            "url": "http://patchwork.ozlabs.org/api/series/497426/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=497426",
            "date": "2026-03-25T11:36:44",
            "name": "[v1] docs/vhost-user: clarify the semantics of VHOST_USER_SET_VRING_ENABLE",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/497426/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2215825/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2215825/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=yandex-team.ru header.i=@yandex-team.ru\n header.a=rsa-sha256 header.s=default header.b=Bc3Res+h;\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=lists.gnu.org;\n envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n receiver=patchwork.ozlabs.org)",
            "mail-nwsmtp-smtp-corp-main-56.klg.yp-c.yandex.net;\n dkim=pass header.i=@yandex-team.ru"
        ],
        "Received": [
            "from lists.gnu.org (lists.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 4fglJM0llGz1xy1\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 25 Mar 2026 22:37:39 +1100 (AEDT)",
            "from localhost ([::1] helo=lists1p.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.90_1)\n\t(envelope-from <qemu-devel-bounces@nongnu.org>)\n\tid 1w5MXw-0002Iy-CV; Wed, 25 Mar 2026 07:37:14 -0400",
            "from eggs.gnu.org ([2001:470:142:3::10])\n by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <d-tatianin@yandex-team.ru>)\n id 1w5MXq-0002Ii-M7\n for qemu-devel@nongnu.org; Wed, 25 Mar 2026 07:37:08 -0400",
            "from forwardcorp1d.mail.yandex.net\n ([2a02:6b8:c41:1300:1:45:d181:df01])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <d-tatianin@yandex-team.ru>)\n id 1w5MXo-0003N1-2m\n for qemu-devel@nongnu.org; Wed, 25 Mar 2026 07:37:06 -0400",
            "from mail-nwsmtp-smtp-corp-main-56.klg.yp-c.yandex.net\n (mail-nwsmtp-smtp-corp-main-56.klg.yp-c.yandex.net\n [IPv6:2a02:6b8:c42:65a0:0:640:e1de:0])\n by forwardcorp1d.mail.yandex.net (Yandex) with ESMTPS id 0A7D9804D2;\n Wed, 25 Mar 2026 14:36:59 +0300 (MSK)",
            "from d-tatianin-lin.yandex-team.ru (unknown\n [2a02:6bf:8080:438::1:5])\n by mail-nwsmtp-smtp-corp-main-56.klg.yp-c.yandex.net (smtpcorp/Yandex) with\n ESMTPSA id raSPqZ0AdeA0-cKFHxvsD; Wed, 25 Mar 2026 14:36:58 +0300"
        ],
        "Precedence": "bulk",
        "X-Yandex-Fwd": "1",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex-team.ru;\n s=default; t=1774438618;\n bh=15BcKcDlCarfJCvy8M3fRq8OzYznzyQxSbRUOsBx494=;\n h=Message-Id:Date:Cc:Subject:To:From;\n b=Bc3Res+hfQ8sLPyMv6/mlcvv3clgnbmVht/zOSLVUrgqkZejAHzHROcPWH/56ZVMs\n hzKFj3RlnpAw1TJDuK/+Cb8Hj7XcSxp9/2WBI6jVhK6uETqOek52d932Z9bVH4DFoX\n Fr+xopbeiEIaqtre4iQWyMbU2LNgb2ZkO2zLd+eU=",
        "From": "Daniil Tatianin <d-tatianin@yandex-team.ru>",
        "To": "\"Michael S. Tsirkin\" <mst@redhat.com>",
        "Cc": "Daniil Tatianin <d-tatianin@yandex-team.ru>,\n Stefano Garzarella <sgarzare@redhat.com>,\n Pierrick Bouvier <pierrick.bouvier@linaro.org>, qemu-devel@nongnu.org,\n yc-core@yandex-team.ru,\n Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>",
        "Subject": "[PATCH v1] docs/vhost-user: clarify the semantics of\n VHOST_USER_SET_VRING_ENABLE",
        "Date": "Wed, 25 Mar 2026 14:36:44 +0300",
        "Message-Id": "<20260325113644.175108-1-d-tatianin@yandex-team.ru>",
        "X-Mailer": "git-send-email 2.34.1",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Received-SPF": "pass client-ip=2a02:6b8:c41:1300:1:45:d181:df01;\n envelope-from=d-tatianin@yandex-team.ru; helo=forwardcorp1d.mail.yandex.net",
        "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, DKIM_SIGNED=0.1,\n DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001,\n 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",
        "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": "Documentation didn't really make it clear that the payload contains any\nsort of desired state field, you could only derive that by looking at\nthe QEMU implementation of this request. Add an extra note to make that\nclear.\n\nReviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>\nSigned-off-by: Daniil Tatianin <d-tatianin@yandex-team.ru>\n---\n\nChanges since v0:\n- Remove 'Note that' (suggested by Vladimir)\n\n---\n docs/interop/vhost-user.rst | 2 ++\n 1 file changed, 2 insertions(+)",
    "diff": "diff --git a/docs/interop/vhost-user.rst b/docs/interop/vhost-user.rst\nindex 137c9f3669d..e29eb291f11 100644\n--- a/docs/interop/vhost-user.rst\n+++ b/docs/interop/vhost-user.rst\n@@ -1346,6 +1346,8 @@ Front-end message types\n   :reply payload: N/A\n \n   Signal the back-end to enable or disable corresponding vring.\n+  The ``num`` field contains the target vring state where 0 means disabled,\n+  and any other value means enabled.\n \n   This request should be sent only when\n   ``VHOST_USER_F_PROTOCOL_FEATURES`` has been negotiated.\n",
    "prefixes": [
        "v1"
    ]
}