get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2231345,
    "url": "http://patchwork.ozlabs.org/api/patches/2231345/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260430160307.634093-12-cohuck@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": "<20260430160307.634093-12-cohuck@redhat.com>",
    "list_archive_url": null,
    "date": "2026-04-30T16:03:07",
    "name": "[PULL,v2,11/11] tests/functional/s390x: Update expected virtio-pci IDs",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "25f5a4480726bd72fa100ff04b8000d7efda05f7",
    "submitter": {
        "id": 71914,
        "url": "http://patchwork.ozlabs.org/api/people/71914/?format=api",
        "name": "Cornelia Huck",
        "email": "cohuck@redhat.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260430160307.634093-12-cohuck@redhat.com/mbox/",
    "series": [
        {
            "id": 502335,
            "url": "http://patchwork.ozlabs.org/api/series/502335/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=502335",
            "date": "2026-04-30T16:02:58",
            "name": "[PULL,v2,01/11] target/s390x/kvm: Simplify the async pfault handling code",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/502335/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2231345/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2231345/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=S6G9yWuV;\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 4g5zYN6twyz1xqf\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 01 May 2026 02:06:00 +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 1wITsh-0002gA-ME; Thu, 30 Apr 2026 12:04:51 -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 <cohuck@redhat.com>) id 1wITrd-0008LB-8k\n for qemu-devel@nongnu.org; Thu, 30 Apr 2026 12:03:46 -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 <cohuck@redhat.com>) id 1wITrb-0007ID-Mm\n for qemu-devel@nongnu.org; Thu, 30 Apr 2026 12:03:45 -0400",
            "from mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com\n (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by\n relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3,\n cipher=TLS_AES_256_GCM_SHA384) id us-mta-29-viSdQ1kSOsWbv9ctkNPOmw-1; Thu,\n 30 Apr 2026 12:03:38 -0400",
            "from mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com\n (mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.111])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS\n id DAAFD1800601; Thu, 30 Apr 2026 16:03:37 +0000 (UTC)",
            "from gondolin.redhat.com (unknown [10.44.50.47])\n by mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP\n id 7AF101800446; Thu, 30 Apr 2026 16:03:36 +0000 (UTC)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1777565022;\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=dDrtXQw8rbWKDXNmO/t+UeKG0DrRlla3ZJfTV7xhK+c=;\n b=S6G9yWuVEBhR1T3dfeogHO9Rp+nRb35LM8LyYkjzNFUFSYi+L0px8X2eI+lednjHMO21sm\n eiB63lO7lpX5JwBMxO9+YxrAImSg/9LHLzl0uUUV0UJPevWWaezT7QErMtnaUFgoxgqItj\n E6/e7ep+/ovoCP3mMoJSEYi9fC47Qe8=",
        "X-MC-Unique": "viSdQ1kSOsWbv9ctkNPOmw-1",
        "X-Mimecast-MFC-AGG-ID": "viSdQ1kSOsWbv9ctkNPOmw_1777565018",
        "From": "Cornelia Huck <cohuck@redhat.com>",
        "To": "qemu-devel@nongnu.org",
        "Cc": "qemu-s390x@nongnu.org, Matthew Rosato <mjrosato@linux.ibm.com>,\n Cornelia Huck <cohuck@redhat.com>",
        "Subject": "[PULL v2 11/11] tests/functional/s390x: Update expected virtio-pci\n IDs",
        "Date": "Thu, 30 Apr 2026 18:03:07 +0200",
        "Message-ID": "<20260430160307.634093-12-cohuck@redhat.com>",
        "In-Reply-To": "<20260430160307.634093-1-cohuck@redhat.com>",
        "References": "<20260430160307.634093-1-cohuck@redhat.com>",
        "MIME-Version": "1.0",
        "Content-type": "text/plain",
        "Content-Transfer-Encoding": "8bit",
        "X-Scanned-By": "MIMEDefang 3.4.1 on 10.30.177.111",
        "Received-SPF": "pass client-ip=170.10.129.124; envelope-from=cohuck@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,\n SPF_PASS=-0.001 autolearn=unavailable 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": "From: Matthew Rosato <mjrosato@linux.ibm.com>\n\nNow that legacy virtio-pci is disabled by default for s390x, adjust\nexisting testcases to look for appropriate device IDs.\n\nSigned-off-by: Matthew Rosato <mjrosato@linux.ibm.com>\nMessage-ID: <20260424132703.833249-1-mjrosato@linux.ibm.com>\nSigned-off-by: Cornelia Huck <cohuck@redhat.com>\n---\n tests/functional/s390x/test_ccw_virtio.py | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/tests/functional/s390x/test_ccw_virtio.py b/tests/functional/s390x/test_ccw_virtio.py\nindex 045533785670..1d4958bbe293 100755\n--- a/tests/functional/s390x/test_ccw_virtio.py\n+++ b/tests/functional/s390x/test_ccw_virtio.py\n@@ -136,7 +136,7 @@ def test_s390x_devices(self):\n                     r'0x1af4')\n         exec_command_and_wait_for_pattern(self,\n                     r'cat /sys/bus/pci/devices/0005\\:00\\:00.0/subsystem_device',\n-                    r'0x0001')\n+                    r'0x1100')\n         # check fid propagation\n         exec_command_and_wait_for_pattern(self,\n                     r'cat /sys/bus/pci/devices/000a\\:00\\:00.0/function_id',\n@@ -203,7 +203,7 @@ def test_s390x_fedora(self):\n                         'while ! (dmesg | grep enP7p0s0) ; do sleep 1 ; done',\n                         'virtio_net virtio0 enP7p0s0: renamed')\n         exec_command_and_wait_for_pattern(self, 'lspci',\n-                             '0007:00:00.0 Class 0200: Device 1af4:1000')\n+                             '0007:00:00.0 Class 0200: Device 1af4:1041')\n         exec_command_and_wait_for_pattern(self,\n                              'cat /sys/class/net/enP7p0s0/address',\n                              '02:ca:fe:fa:ce:12')\n",
    "prefixes": [
        "PULL",
        "v2",
        "11/11"
    ]
}