get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2231421,
    "url": "http://patchwork.ozlabs.org/api/patches/2231421/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260430172204.1006673-28-pbonzini@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": "<20260430172204.1006673-28-pbonzini@redhat.com>",
    "list_archive_url": null,
    "date": "2026-04-30T17:21:33",
    "name": "[PULL,27/58] whpx: i386: enable x2apic by default for user-mode LAPIC",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "437ed2dd507f87810cf841891a374a031c3cf100",
    "submitter": {
        "id": 2701,
        "url": "http://patchwork.ozlabs.org/api/people/2701/?format=api",
        "name": "Paolo Bonzini",
        "email": "pbonzini@redhat.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260430172204.1006673-28-pbonzini@redhat.com/mbox/",
    "series": [
        {
            "id": 502347,
            "url": "http://patchwork.ozlabs.org/api/series/502347/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=502347",
            "date": "2026-04-30T17:21:16",
            "name": "[PULL,01/58] pythondeps: bump to meson 1.11.1",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/502347/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2231421/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2231421/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=iy5OXXWp;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=google header.b=NDpZMVKH;\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 4g61JG6WcHz1xqf\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 01 May 2026 03:24:46 +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 1wIV7a-0006BS-9b; Thu, 30 Apr 2026 13:24:18 -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 <pbonzini@redhat.com>)\n id 1wIV6v-0005NF-5K\n for qemu-devel@nongnu.org; Thu, 30 Apr 2026 13:23:37 -0400",
            "from us-smtp-delivery-124.mimecast.com ([170.10.133.124])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <pbonzini@redhat.com>)\n id 1wIV6t-0004Zb-Bx\n for qemu-devel@nongnu.org; Thu, 30 Apr 2026 13:23:36 -0400",
            "from mail-qv1-f69.google.com (mail-qv1-f69.google.com\n [209.85.219.69]) by relay.mimecast.com with ESMTP with STARTTLS\n (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id\n us-mta-136-5qlyjkpGNDaMYOTQEhc7Eg-1; Thu, 30 Apr 2026 13:23:33 -0400",
            "by mail-qv1-f69.google.com with SMTP id\n 6a1803df08f44-8aca3b7b536so34564096d6.3\n for <qemu-devel@nongnu.org>; Thu, 30 Apr 2026 10:23:33 -0700 (PDT)",
            "from [192.168.10.48] ([151.49.85.67])\n by smtp.gmail.com with ESMTPSA id\n 6a1803df08f44-8b3ff43b896sm23077126d6.25.2026.04.30.10.23.30\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 30 Apr 2026 10:23:30 -0700 (PDT)"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1777569814;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=hfdehV+v0vmeOCbIYBt0V6h9RQqUv06JzQT0cRmQQvA=;\n b=iy5OXXWpvsppPzGBjOurcOdI2vGDRu/gaeMIXIDxT07H/PoUNtoUzWvncSqKJ7i/EVvcVD\n 8fcQ10WWTUqEcGaz5isdKS0Bti6hZvmJ0XpHc2sj/jgRdEdrludYiZE6/CLXcGkFatWbGw\n 4iAQku690UhdglbRi2zSuCTh8Yd+BZQ=",
            "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=redhat.com; s=google; t=1777569812; x=1778174612; 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=hfdehV+v0vmeOCbIYBt0V6h9RQqUv06JzQT0cRmQQvA=;\n b=NDpZMVKHCRaGnVq82lGDpC4m8UPSmr0yGGLmnmjOCHLFMHUzNc6vW3aU6ZLQbbEX4e\n vTX4ETz6DrWua1+tjhMpWRg1KWRN9vUQLqaeVvt0BDd+5DeRAoIKQH+6HD3hMLgtIUbx\n la6n0yLbfPpj/gKQnVvtAbeJhZi3Xi92bDKymqAdk1D9y6acisZHj3DBmgJBDSiV6QS8\n rZNk9ihTp9EVazn9//Ml50xN+kPrhx826xp6XXCRBISKff85tG+8afPlHRCdjzblVTRp\n OIKJGupZ4y++DdGcEpRQQcW+QDGEFtcl+KY1omV8Atk3nJh51Aqd+e/qfJ4CEfxk8nx8\n bONg=="
        ],
        "X-MC-Unique": "5qlyjkpGNDaMYOTQEhc7Eg-1",
        "X-Mimecast-MFC-AGG-ID": "5qlyjkpGNDaMYOTQEhc7Eg_1777569813",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1777569812; x=1778174612;\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=hfdehV+v0vmeOCbIYBt0V6h9RQqUv06JzQT0cRmQQvA=;\n b=KLAeGn+6dxC9yeliQYLmHbud2ltTKGxA8LZ4UYbGNBYtWZHkitrqZX2eZmX9iufrU0\n 1Yv2ptprQ3us+D5buwjE8RR6c9/dKIap1aovkZV4goks1nFdIolPGhUP654Z9PtaW7HV\n MPaTpR2aLZ8EmsJjd20qlD7VGSgVPcTNprUH1TADP3pCVgCUwXTRVg5x77OtagFsTi1D\n 3qkfsP8cPTuHgiDpt7DYGjDDkpu7xm3GHRCDGkcwZ2lHAC7k+bbr1g+2AYjM6hopNx5v\n 4bSvLx4GplOGyn4dhDJVG0IC3rIq72RIyK3iNLcOqgWtsMs7kxLs/HD4uiKb/Iyp0+/N\n s7gg==",
        "X-Gm-Message-State": "AOJu0YwJn/1fxzXjW3gx2v9OBZDSvDGIwKb+a1L9uJKUh2ROnKNygtBM\n HzWeBK0Awmbxw7AwRJRTd2LyOefzT0vf9wMMl58MnFiz3CJ3Xl33En1xChIci+FxQiBqRL9LTKj\n 1E6ATSafe5oKImQP5dtaC/oeAoFAWVe0EQ5eckUNBCEhld4v4a78EtkEwVVbiVUdIaxBQ0b5pec\n AkMLnezvD0mY3nCvsH+1179knFlJVsznZ1YQ0x3Ayv",
        "X-Gm-Gg": "AeBDies7Lt7Qi7hoqW876S2PT5fgBNFhIZtVpi1qx3EraPPdG/2LKVxp3vNF+PSgg6L\n Qe1c7qbePsyCkVBm4lndbatsO9QJOIGfqdC6LLUQM3lzCZoNwBrHwyA1g1Eq1avSB4GuyVk23uv\n /LpsqKfoT4naWByjClxilB2HPocnYmgyZCs8PCQCghXT2L5rI7/Js31af9fekFFSw0vWvhS1/bO\n 7N4XecFQuszIQqYBjalmOmVvL/Kr4PMfoaRx/E9XKKjel87YUgpeyv9P0DPkr2+/IH4G44indWc\n 3LdRsEXdF8p6vrTQSEyKjjJjYW9Uw61VI7p5FGQ+1Tj8rtgACSbs/K4+8Ca0psbayyHiabeF5ZY\n 9cu1R6+bKuNh8nGuQleKdB5fmOkXntvLpKufa9qjkEarnr0qyTvE94Mv70OBbGUrZZ0S48qntgW\n ESYX2sIgD+wCmKX5sCFF4x0ClhJMG1SRYLsdE=",
        "X-Received": [
            "by 2002:ad4:5aeb:0:b0:8ac:a2db:5760 with SMTP id\n 6a1803df08f44-8b3fe7f8c82mr53504716d6.33.1777569812221;\n Thu, 30 Apr 2026 10:23:32 -0700 (PDT)",
            "by 2002:ad4:5aeb:0:b0:8ac:a2db:5760 with SMTP id\n 6a1803df08f44-8b3fe7f8c82mr53504316d6.33.1777569811787;\n Thu, 30 Apr 2026 10:23:31 -0700 (PDT)"
        ],
        "From": "Paolo Bonzini <pbonzini@redhat.com>",
        "To": "qemu-devel@nongnu.org",
        "Cc": "Mohamed Mediouni <mohamed@unpredictable.fr>",
        "Subject": "[PULL 27/58] whpx: i386: enable x2apic by default for user-mode LAPIC",
        "Date": "Thu, 30 Apr 2026 19:21:33 +0200",
        "Message-ID": "<20260430172204.1006673-28-pbonzini@redhat.com>",
        "X-Mailer": "git-send-email 2.54.0",
        "In-Reply-To": "<20260430172204.1006673-1-pbonzini@redhat.com>",
        "References": "<20260430172204.1006673-1-pbonzini@redhat.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Received-SPF": "pass client-ip=170.10.133.124;\n envelope-from=pbonzini@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_H5=0.001, RCVD_IN_MSPIKE_WL=0.001,\n SPF_HELO_PASS=-0.001, 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": "From: Mohamed Mediouni <mohamed@unpredictable.fr>\n\nSigned-off-by: Mohamed Mediouni <mohamed@unpredictable.fr>\nLink: https://lore.kernel.org/r/20260422214225.2242-6-mohamed@unpredictable.fr\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>\n---\n target/i386/whpx/whpx-all.c | 7 +++++++\n 1 file changed, 7 insertions(+)",
    "diff": "diff --git a/target/i386/whpx/whpx-all.c b/target/i386/whpx/whpx-all.c\nindex 8f03616cb97..4954e0557a7 100644\n--- a/target/i386/whpx/whpx-all.c\n+++ b/target/i386/whpx/whpx-all.c\n@@ -2366,11 +2366,18 @@ error:\n     return ret;\n }\n \n+static PropValue whpx_default_props[] = {\n+    { \"x2apic\", \"on\" },\n+    { NULL, NULL },\n+};\n+\n+\n void whpx_cpu_instance_init(CPUState *cs)\n {\n     X86CPU *cpu = X86_CPU(cs);\n \n     host_cpu_instance_init(cpu);\n+    x86_cpu_apply_props(cpu, whpx_default_props);\n }\n \n /*\n",
    "prefixes": [
        "PULL",
        "27/58"
    ]
}