get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2217786,
    "url": "http://patchwork.ozlabs.org/api/patches/2217786/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260330151309.1786787-1-peter.maydell@linaro.org/",
    "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": "<20260330151309.1786787-1-peter.maydell@linaro.org>",
    "list_archive_url": null,
    "date": "2026-03-30T15:13:09",
    "name": "target/i386/cpu.c: Correct minor grammar error in warning",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "614b0776ab2622c059e9242a1c8b9701ac7f18d7",
    "submitter": {
        "id": 5111,
        "url": "http://patchwork.ozlabs.org/api/people/5111/?format=api",
        "name": "Peter Maydell",
        "email": "peter.maydell@linaro.org"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260330151309.1786787-1-peter.maydell@linaro.org/mbox/",
    "series": [
        {
            "id": 498048,
            "url": "http://patchwork.ozlabs.org/api/series/498048/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=498048",
            "date": "2026-03-30T15:13:09",
            "name": "target/i386/cpu.c: Correct minor grammar error in warning",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/498048/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2217786/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2217786/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=YUz3Ldjh;\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)"
        ],
        "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 4fkvsd1jSBz1yG8\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 31 Mar 2026 02:13:57 +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 1w7EIt-0005eB-Jh; Mon, 30 Mar 2026 11:13:23 -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 <peter.maydell@linaro.org>)\n id 1w7EIp-0005ds-IJ\n for qemu-devel@nongnu.org; Mon, 30 Mar 2026 11:13:19 -0400",
            "from mail-wm1-x333.google.com ([2a00:1450:4864:20::333])\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 1w7EIk-0002ED-DQ\n for qemu-devel@nongnu.org; Mon, 30 Mar 2026 11:13:17 -0400",
            "by mail-wm1-x333.google.com with SMTP id\n 5b1f17b1804b1-4838c15e3cbso37906055e9.3\n for <qemu-devel@nongnu.org>; Mon, 30 Mar 2026 08:13:12 -0700 (PDT)",
            "from lanath.. (wildly.archaic.org.uk. [81.2.115.145])\n by smtp.gmail.com with ESMTPSA id\n 5b1f17b1804b1-48722d40741sm300065015e9.13.2026.03.30.08.13.10\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Mon, 30 Mar 2026 08:13:10 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=linaro.org; s=google; t=1774883591; x=1775488391; darn=nongnu.org;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:from:to:cc:subject:date:message-id:reply-to;\n bh=s2wYGWZyiLSf+BhQWVn+YKYXyYsHikf5YHf0S051JMI=;\n b=YUz3LdjhFG3QPoqGQL3nrVutBiZ/tTD8c0y8FQD70YC8i0d0XHyPrVEqYAHqidHx8l\n dhE5XRkoGzVkTv+pbOEnvsdIlaXL/s4evAAeTNC40EV1EYLrnpBYdEphV50+q0dW/m9P\n /zX4lE3Gzfr6xHtOKIf2d3YEm57KRSexbVytXXq2f2nKRw/dm2k1/z01DMZW7y6CwoUE\n ECBMKN12LI+53zaj3o8waV985Wy+yJNK+kgRebDBHR2ipGElxJ0lUCAvevmOB8RxeeLW\n cp86PNU6RPV7JHE2yStHlR+zQUBN41zC9R6vw6FhOi0uuKqigL1dZ3aUAbwPLnfU6IyV\n mMDQ==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1774883591; x=1775488391;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date\n :message-id:reply-to;\n bh=s2wYGWZyiLSf+BhQWVn+YKYXyYsHikf5YHf0S051JMI=;\n b=AxvVhI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PNlAXSRYMXLqYbxw=",
        "X-Received": "by 2002:a05:600c:1d15:b0:485:2fc5:3a5 with SMTP id\n 5b1f17b1804b1-48727edf4f5mr212057845e9.26.1774883591424;\n Mon, 30 Mar 2026 08:13:11 -0700 (PDT)",
        "From": "Peter Maydell <peter.maydell@linaro.org>",
        "To": "qemu-devel@nongnu.org",
        "Cc": "Paolo Bonzini <pbonzini@redhat.com>,\n\tZhao Liu <zhao1.liu@intel.com>",
        "Subject": "[PATCH] target/i386/cpu.c: Correct minor grammar error in warning",
        "Date": "Mon, 30 Mar 2026 16:13:09 +0100",
        "Message-ID": "<20260330151309.1786787-1-peter.maydell@linaro.org>",
        "X-Mailer": "git-send-email 2.43.0",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Received-SPF": "pass client-ip=2a00:1450:4864:20::333;\n envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x333.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": "Fix a minor error in the grammar of the warning messages\nproduced if both MPX and APX are enabled:\n\n$ ./build/x86/qemu-system-x86_64   -cpu max -accel qtest -S\nqemu-system-x86_64: warning: this feature conflicts with APX: CPUID[eax=07h,ecx=00h].EBX.mpx [bit 14]\nqemu-system-x86_64: warning: this feature conflicts with MPX: CPUID[eax=07h,ecx=01h].EDX.apxf [bit 21]\n\nFixes: 91bc4d81078a (\"i386/cpu: Add APX EGPRs into xsave area\")\nSigned-off-by: Peter Maydell <peter.maydell@linaro.org>\n---\nAs a side note, it seems a bit harsh to turn off *both*\nthe conflicting features if they're both set, rather than\nremoving only the older one.\n---\n target/i386/cpu.c | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/target/i386/cpu.c b/target/i386/cpu.c\nindex d02f6f0653..3b0a7c7363 100644\n--- a/target/i386/cpu.c\n+++ b/target/i386/cpu.c\n@@ -9628,9 +9628,9 @@ void x86_cpu_expand_features(X86CPU *cpu, Error **errp)\n     if ((env->features[FEAT_7_0_EBX] & CPUID_7_0_EBX_MPX) &&\n         (env->features[FEAT_7_1_EDX] & CPUID_7_1_EDX_APXF)) {\n         mark_unavailable_features(cpu, FEAT_7_0_EBX, CPUID_7_0_EBX_MPX,\n-            \"this feature is conflict with APX\");\n+            \"this feature conflicts with APX\");\n         mark_unavailable_features(cpu, FEAT_7_1_EDX, CPUID_7_1_EDX_APXF,\n-            \"this feature is conflict with MPX\");\n+            \"this feature conflicts with MPX\");\n     }\n \n     x86_cpu_enable_xsave_components(cpu);\n",
    "prefixes": []
}