get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2234546,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/2234546/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260507194728.2034696-7-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-7-peter.maydell@linaro.org>",
    "list_archive_url": null,
    "date": "2026-05-07T19:47:28",
    "name": "[6/6] tests/functional/test_tuxrun: Restrict to TCG",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "34037b9fa52113315f02bf580c056120a07cc332",
    "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-7-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/2234546/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2234546/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=wV7CCIE/;\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 4gBN9m1wB7z1yCg\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 08 May 2026 05:49:16 +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-0002yV-7m; 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 1wL4hY-0002mO-V1\n for qemu-devel@nongnu.org; Thu, 07 May 2026 15:48:09 -0400",
            "from mail-wm1-x332.google.com ([2a00:1450:4864:20::332])\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 1wL4hU-0006B5-Uc\n for qemu-devel@nongnu.org; Thu, 07 May 2026 15:48:03 -0400",
            "by mail-wm1-x332.google.com with SMTP id\n 5b1f17b1804b1-4893940bb5eso7905495e9.3\n for <qemu-devel@nongnu.org>; Thu, 07 May 2026 12:47:39 -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.37\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 07 May 2026 12:47:37 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=linaro.org; s=google; t=1778183259; x=1778788059; 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=vxuCQv75FqOTgqHf7uhOh33FKyFMH0uLqFU9OhcHcj0=;\n b=wV7CCIE/2rpgp71aFO0kOFdSBy5TG422y3T8y3SCUSvyrWJIzjIoznsPLXF31vfMCH\n 63tBTWyY7gBpCFlsBDqikvjRSgITTcdXRaLgCRmxJToN9asn5PLt4cvo2AOjk+x+bxeo\n YXAhXXXWK1rfMU6zCbgGzslwBjQnkYE0/K4tV2O7EhkHsKz7m3KuxcSl9PaYO0zzVlVr\n 9yBPnBoymOPm4UTmWBPmaBHEiJbr/uHXkYPqcXaOFTeQw3haB9HJ0gg0A79N7dxv+EOX\n Y2CTjlKajFbMRPwyIbIMNkEHaXWfjOSG6P1/F1CoClLr03fIWNY2A21AOFWeN2kf2+QT\n rScw==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1778183259; x=1778788059;\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=vxuCQv75FqOTgqHf7uhOh33FKyFMH0uLqFU9OhcHcj0=;\n b=V5hJJyJTTVTyvXRZVoxSBD76i8O059ucvbMBDRfiEN5g+OpZYYi1k7v5Mss9GNNBDl\n uEZMNP9d2PEhKUlv6DDnV0R6CYbJLxVW9dI85wyIDwDi/kt1bAwOxJqfCRz591bRfhbr\n ifhRvB22s6xeuaWQK6fldreDZAs6UCbz+yKXQnAaubWoiffFm4Q4+zpYOMIlsEvVqO9x\n PdCenHfYOsolNupKSfNv77tPr0KBGS7KR+poDqjZ6g4E0I/z2kcMUNhSsItKrsrI/yUf\n DX/rdqpu/RQ+nrxBvPtMPDjmgvrK46IFt46c/HJ4oesitsFOpOi77YHyyk2DAWJDBeVM\n dpoQ==",
        "X-Forwarded-Encrypted": "i=1;\n AFNElJ+jCWuCxrCII34d6ymErLJzdcccW+BfTzGSQYDIQClj1k+NS40/rzF2Ws+BhfJci2NxU8iVVCVuKSqL@nongnu.org",
        "X-Gm-Message-State": "AOJu0YxWsK/PzWLewsb2IQL4swgpiCczz9b8ALUJy6F4Ywvbp1jMUzLY\n DiduNdi6hwjRKtW4PCd3nxlVjhaP0cP8jOsUGkKFynOGxV6u0hsmf6dWje160b/Ih14=",
        "X-Gm-Gg": "AeBDievIJnFx6tG73sAJ3MxI1jKqNVz1FxWROyykMYtwBqEWyZEcKkmeojb7Yfpaxcu\n bHubZCfKb/iTgz/JiRtZqpYwzEfh1aeHISie2/h3GNEGHsd783RNhR51yrDpgB/Gxi49hwPRqud\n e1aSomfXu0V3vIyka/QtzZzbE03wxR4JvHo5gKepTSiyR00oXVddDaV/vOQmGkpJ0bq9k4Rddd9\n KE4XvroOEzNkU9o4JjhWxO4SnVCU0TyXFTH6SpkqZ3FCKkRwGqeQmhXS4HSYYe0cNo3NWiib75A\n NSYc0CMUTr4gx1AP/j7Z/t2CLQKo57lCUU8kJgzl9WBjSp6yG6fhgFUBL2lrkgXtKrfNje1u3kx\n qOZhgzq5t16beojC+QEZtgU8cFcXpZSu40duy/ButxNYifXX1xLstKIAvrqw5KvxFGlGuOclBOf\n y30GNe5k246ApQMh7cyB5FaBLUBhYzazLXUVuU6i8RvDEcegBkRoPdi5ws3Zd2SVkqSKJoo1i+8\n gcFQWOUqoucJPdgQV3MJfNjV9hrKno=",
        "X-Received": "by 2002:a05:600c:1504:b0:48a:525b:e148 with SMTP id\n 5b1f17b1804b1-48e51f1856dmr82943195e9.4.1778183258755;\n Thu, 07 May 2026 12:47:38 -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 6/6] tests/functional/test_tuxrun: Restrict to TCG",
        "Date": "Thu,  7 May 2026 20:47:28 +0100",
        "Message-ID": "<20260507194728.2034696-7-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::332;\n envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x332.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=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": "The tuxrun tests specify the cortex-a57 CPU; this doesn't work on a\nKVM-only QEMU build, where the default accelerator is KVM but KVM\ndoesn't support that CPU type.  Restrict the test to TCG, to avoid\nfailures on KVM-only AArch64 builds:\n        Output: qemu-system-aarch64: kvm_init_vcpu: kvm_arch_init_vcpu failed (0): Invalid argument\n\nSigned-off-by: Peter Maydell <peter.maydell@linaro.org>\n---\n tests/functional/aarch64/test_tuxrun.py | 2 ++\n 1 file changed, 2 insertions(+)",
    "diff": "diff --git a/tests/functional/aarch64/test_tuxrun.py b/tests/functional/aarch64/test_tuxrun.py\nindex 75adc8acb8..7dd50c3de1 100755\n--- a/tests/functional/aarch64/test_tuxrun.py\n+++ b/tests/functional/aarch64/test_tuxrun.py\n@@ -25,6 +25,7 @@ class TuxRunAarch64Test(TuxRunBaselineTest):\n \n     def test_arm64(self):\n         self.set_machine('virt')\n+        self.require_accelerator('tcg')\n         self.cpu='cortex-a57'\n         self.console='ttyAMA0'\n         self.wait_for_shutdown=False\n@@ -40,6 +41,7 @@ def test_arm64(self):\n \n     def test_arm64be(self):\n         self.set_machine('virt')\n+        self.require_accelerator('tcg')\n         self.cpu='cortex-a57'\n         self.console='ttyAMA0'\n         self.wait_for_shutdown=False\n",
    "prefixes": [
        "6/6"
    ]
}