get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2234548,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/2234548/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260507194728.2034696-3-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-3-peter.maydell@linaro.org>",
    "list_archive_url": null,
    "date": "2026-05-07T19:47:24",
    "name": "[2/6] tests/functional/test_virt_vbsa: Skip UEFI test if virtualization not supported",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "ff90b3b528ae92804ed0d66d60e7a7a299939cab",
    "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-3-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/2234548/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2234548/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=M/hCKBEj;\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 4gBNBJ1XM0z1yCg\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 08 May 2026 05:49:44 +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-00030D-TH; 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 1wL4ha-0002nA-Rt\n for qemu-devel@nongnu.org; Thu, 07 May 2026 15:48:09 -0400",
            "from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a])\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 1wL4hY-00068Z-OI\n for qemu-devel@nongnu.org; Thu, 07 May 2026 15:48:06 -0400",
            "by mail-wm1-x32a.google.com with SMTP id\n 5b1f17b1804b1-488ff90d6c7so11394425e9.2\n for <qemu-devel@nongnu.org>; Thu, 07 May 2026 12:47:33 -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.31\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 07 May 2026 12:47:31 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=linaro.org; s=google; t=1778183253; x=1778788053; 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=TwQoznHfoi6X0cMFnSCdgFp2onTlRFNtNkmcJ9GY4w8=;\n b=M/hCKBEjjDEvqrp5nqZlsfv9ubd5TEQXKJTRdeE3PuIk3KhtR0T23Pz7+8GZ0rVOJt\n +Tv8SpJVW+Ri2obPvI5ZMF7F0sI7H2bXoTYMiZ5LDyWMfePRYY5Ly/fDQOmJONe0L2d7\n zqadIvTe8IyiTU7gwlIR8LungJg/7tEERQt/aKI5mMi/NcIuXqXnZM1euvpKy/1VD1cM\n w4I8Rz5MzigI+JSodEoK5+0eVfiK5LoSaO/Cs1MJcXogS7zW+hPJqKNFZmoFogOOvrgj\n WF1cYG6jORPKIzN0kRjc9LPT5PGY8qWfxGhO6kR5bFNsHXFL2+fposlPDhEX8pgGfstC\n SrYw==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1778183253; x=1778788053;\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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RgA\n UxRVoWF1Srm2fNbPKilKc9N17+OOyT4JAohHV4EhbWnYJQQy9Qo+zRyPfkAp1z8+hJMFYR+nkEl\n FETE2BlNONSqDCXo7tjivXzlCX81//6p0TKNUk4yHFG0eMIdvjyc6CnWNK8tUO3JX7BMCN/62ZI\n 8hmymxOxMw19Q7x2d0VbO8SBLPnmk0=",
        "X-Received": "by 2002:a05:600c:a111:b0:471:700:f281 with SMTP id\n 5b1f17b1804b1-48e51f46e24mr123393295e9.25.1778183252784;\n Thu, 07 May 2026 12:47:32 -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 2/6] tests/functional/test_virt_vbsa: Skip UEFI test if\n virtualization not supported",
        "Date": "Thu,  7 May 2026 20:47:24 +0100",
        "Message-ID": "<20260507194728.2034696-3-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::32a;\n envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x32a.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": "If you try to run the functional tests on an AArch64 host which doesn't\nsupport nested virtualization in KVM, the UEFI test fails with:\n\n   Output: qemu-system-aarch64: mach-virt: host kernel KVM does\n   not support providing Virtualization extensions to the guest CPU\n\nCatch the VMLaunchFailure exception and if it matches the error\nmessages the virt board puts out for virtualization not being\nsupported, skip the test.\n\nSigned-off-by: Peter Maydell <peter.maydell@linaro.org>\n---\n tests/functional/aarch64/test_virt_vbsa.py | 10 +++++++++-\n 1 file changed, 9 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/tests/functional/aarch64/test_virt_vbsa.py b/tests/functional/aarch64/test_virt_vbsa.py\nindex 57bfe5d7af..04b5ff0f9e 100755\n--- a/tests/functional/aarch64/test_virt_vbsa.py\n+++ b/tests/functional/aarch64/test_virt_vbsa.py\n@@ -17,6 +17,7 @@\n from qemu_test import get_qemu_img, skipIfMissingCommands\n from qemu_test import wait_for_console_pattern\n from qemu_test import exec_command_and_wait_for_pattern as ec_and_wait\n+from qemu.machine.machine import VMLaunchFailure\n \n \n @skipIfMissingCommands(\"mformat\", \"mcopy\", \"mmd\")\n@@ -96,7 +97,14 @@ def test_aarch64_vbsa_uefi_tests(self):\n                          f'file={img_path},format=raw,if=none,id=drive0')\n         self.vm.add_args('-device', 'virtio-blk-pci,drive=drive0')\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         # wait for EFI prompt\n         self.wait_for_console_pattern('Shell>')\n",
    "prefixes": [
        "2/6"
    ]
}