get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2234549,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/2234549/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260507194728.2034696-5-peter.maydell@linaro.org/",
    "project": {
        "id": 14,
        "url": "http://patchwork.ozlabs.org/api/1.2/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": "<20260507194728.2034696-5-peter.maydell@linaro.org>",
    "list_archive_url": null,
    "date": "2026-05-07T19:47:26",
    "name": "[4/6] tests/functional/test_kvm.py: Skip if virtualization not supported",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "be5569242fe97ea13829860a057852e969fef79e",
    "submitter": {
        "id": 5111,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/5111/?format=api",
        "name": "Peter Maydell",
        "email": "peter.maydell@linaro.org"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260507194728.2034696-5-peter.maydell@linaro.org/mbox/",
    "series": [
        {
            "id": 503259,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/503259/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=503259",
            "date": "2026-05-07T19:47:22",
            "name": "target/arm: Fix functional test failures in KVM-only builds",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/503259/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2234549/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2234549/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 (2048-bit key;\n unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256\n header.s=google header.b=yvM0SD1D;\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 4gBNBP1V2dz1yCg\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 08 May 2026 05:49:49 +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 1wL4iF-000306-Mr; Thu, 07 May 2026 15:48:47 -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 <peter.maydell@linaro.org>)\n id 1wL4hX-0002mL-1V\n for qemu-devel@nongnu.org; Thu, 07 May 2026 15:48:09 -0400",
            "from mail-wm1-x334.google.com ([2a00:1450:4864:20::334])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)\n (Exim 4.90_1) (envelope-from <peter.maydell@linaro.org>)\n id 1wL4hR-0006A3-I3\n for qemu-devel@nongnu.org; Thu, 07 May 2026 15:48:01 -0400",
            "by mail-wm1-x334.google.com with SMTP id\n 5b1f17b1804b1-48a563e4ef7so11893225e9.0\n for <qemu-devel@nongnu.org>; Thu, 07 May 2026 12:47:36 -0700 (PDT)",
            "from lanath.. (wildly.archaic.org.uk. [81.2.115.145])\n by smtp.gmail.com with ESMTPSA id\n 5b1f17b1804b1-48e65c145aasm958375e9.25.2026.05.07.12.47.34\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 07 May 2026 12:47:35 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=linaro.org; s=google; t=1778183256; x=1778788056; 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=+9M59IsSQ4jRNfkdEPtwMPinyMjNpa0S+EfEckZHfMA=;\n b=yvM0SD1DbPS/fhF2nhZ6FIAwvjoPl50cetpo7E/7kxYNzJ/URcrDsAQ3kYGkLDMRU9\n wl5OQ5pcVSFh7R6f2x4DRDfQRUoI2Dde8CTZQtY++NIdbM70hrOxKCYfHcLeRZNfzuPb\n Z5SIcfYFgBo4v792vg2UyEgfS8h8cZZVd5U7FneUMLJGR+ds8/l80sq+ng16DqjFWuEK\n YxM5K5q2Spdzlc4YArt06xH1wwgBmPJdBsEo0HN04PHjV1AI90Thlz753gcuXjX9RZUX\n N7OoRHbTGhyGrWXzfOYHbSKXPJApJcvncMb6JrYGXELzyMhokX3i0VL9iz3i/JsZe12M\n sRIQ==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1778183256; x=1778788056;\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=+9M59IsSQ4jRNfkdEPtwMPinyMjNpa0S+EfEckZHfMA=;\n b=s8gf1XylgzpEa3ZGU3S0TolwcVB1284DvbUVZXh4qe3kp/NUfK4WEbsN1coffaQvjO\n u89qpVJ3neFkc7fuzmTx35hgbcInGVGKpNKNTSklelsqipiNxHzhtpSr2LPhUD4qRPr4\n WijiqoA3PcJHqM03aSu1kpDB6WhMCgIzhMt6+uYR0Ac00FXJfkUBhqSKYFmZIhfZrkx4\n Gsh2LeKc19GjdntQnC+wJkohej21aF4av6gmm+b6wW9g7dRZ/meDRhA1SwgpjnYi9pbh\n s+T7gj0NrDWbH1P0Ya3pP3L4x7CVAYu1HhP4X5lFEeHMp+fWZ+SG5F3lVwLWtojl+RxE\n fQag==",
        "X-Forwarded-Encrypted": "i=1;\n AFNElJ8/kCbxbMt4yYdVMhjfkrLXGxOjhZgYuiMK2dgTKPe8VLqUQnpcXMqkNiGn6XEouZle4CEqnZyr1BHU@nongnu.org",
        "X-Gm-Message-State": "AOJu0YwlW1EPMO2NBNUvCRaZRcMvBbrec77X7/YFikPhSBV/ar16nRmB\n cYrJhGO8X3ncr3Eqnd613tvt3snNprkNT9M0m+MGPGXGr7IIRjONhGV32rZQKEpnQlg=",
        "X-Gm-Gg": "AeBDietixx78uOkcic7q80BwpN7GRVhFUOLD5emat7iY5topTe2YSPsOivSQPYnYtMs\n loCuH64Gxd9aZdWGpC8wYoIlFot3rN0fGMnH6x347Kj7UFuFLlgyVqqJ2/li1yctYy13GtBIM+3\n sNEkGMQ0Hs3s69dawLDO9zeYXDZ1IcYtFsblH3JUf+D2mYHGeyTRxNKhDal2irDRwPdWWhtJqqJ\n VPdiOzCWMnPgudRceKa5k01RF0wPDFi+Ej/ZDsT/+phHVgJGA06voJBJH3aUR0mHGe3oqKz7+OU\n kmS2mWkfY2OCW6zoST2MUoIjMFH3pki5oz1eVG5TNlMI1fqk0Nh2ZfsCRuM4Qafn8zYAnggWMgD\n dhUnfsxYGnWS2P7wveFsdz+SBu/yk7XXoAs8VvXqYvf4SLQ8lll4lhrAuJBXhS0Tsk8j5TYsf+C\n bw2aI+uzQhFadKYhPYzOYLGKBM3Oxpqkkdr4oj3UQNFonS27VoQEdr2P5YaaE7uEu5Y3oInUVhC\n BGNbWNMVK9tl4guVVJyC4he5rCkHaU=",
        "X-Received": "by 2002:a05:600c:3548:b0:48a:7aad:4425 with SMTP id\n 5b1f17b1804b1-48e51e097fcmr148799915e9.3.1778183255813;\n Thu, 07 May 2026 12:47:35 -0700 (PDT)",
        "From": "Peter Maydell <peter.maydell@linaro.org>",
        "To": "qemu-arm@nongnu.org,\n\tqemu-devel@nongnu.org",
        "Cc": "Elena Ufimtseva <elena.ufimtseva@oracle.com>,\n Jagannathan Raman <jag.raman@oracle.com>,\n Gustavo Romero <gustavo.romero@linaro.org>,\n =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org>,\n Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>",
        "Subject": "[PATCH 4/6] tests/functional/test_kvm.py: Skip if virtualization not\n supported",
        "Date": "Thu,  7 May 2026 20:47:26 +0100",
        "Message-ID": "<20260507194728.2034696-5-peter.maydell@linaro.org>",
        "X-Mailer": "git-send-email 2.43.0",
        "In-Reply-To": "<20260507194728.2034696-1-peter.maydell@linaro.org>",
        "References": "<20260507194728.2034696-1-peter.maydell@linaro.org>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Received-SPF": "pass client-ip=2a00:1450:4864:20::334;\n envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x334.google.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, DKIM_SIGNED=0.1,\n DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,\n RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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": "The test_kvm test runs the virt board with virtualization=on,\nwhich will fail if run with an accelerator that doesn't\nsupport nested virtualization. Catch the VMLaunchFailure\nexception and skip the test if startup failed because\nthe accelerator can't support virtualization.\n\nSigned-off-by: Peter Maydell <peter.maydell@linaro.org>\n---\n tests/functional/aarch64/test_kvm.py | 10 +++++++++-\n 1 file changed, 9 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/tests/functional/aarch64/test_kvm.py b/tests/functional/aarch64/test_kvm.py\nindex fed18aba60..c977e8c6d2 100755\n--- a/tests/functional/aarch64/test_kvm.py\n+++ b/tests/functional/aarch64/test_kvm.py\n@@ -14,6 +14,7 @@\n from qemu_test import Asset\n from qemu_test import exec_command_and_wait_for_pattern as ec_and_wait\n from qemu_test.linuxkernel import LinuxKernelTest\n+from qemu.machine.machine import VMLaunchFailure\n \n \n class Aarch64VirtKVMTests(LinuxKernelTest):\n@@ -44,7 +45,14 @@ def _launch_guest(self, kvm_mode=\"nvhe\"):\n                          '-append', kernel_command_line)\n         self.vm.add_args(\"-smp\", \"2\", \"-m\", \"320\")\n \n-        self.vm.launch()\n+        try:\n+            self.vm.launch()\n+        except VMLaunchFailure as excp:\n+            if \"does not support providing Virtualization\" in excp.output:\n+                self.skipTest(\"accelerator has no virtualization support\")\n+            else:\n+                self.log.info(\"unhandled launch failure: %s\", excp.output)\n+                raise excp\n \n         self.wait_for_console_pattern('buildroot login:')\n         ec_and_wait(self, 'root', '#')\n",
    "prefixes": [
        "4/6"
    ]
}