get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2195839,
    "url": "http://patchwork.ozlabs.org/api/patches/2195839/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260212062522.99565-25-anisinha@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": "<20260212062522.99565-25-anisinha@redhat.com>",
    "list_archive_url": null,
    "date": "2026-02-12T06:25:08",
    "name": "[v4,24/31] kvm/hyperv: add synic feature to CPU only if its not enabled",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "c90d03afbc1277c88438bdc4bbab3a9912969304",
    "submitter": {
        "id": 86030,
        "url": "http://patchwork.ozlabs.org/api/people/86030/?format=api",
        "name": "Ani Sinha",
        "email": "anisinha@redhat.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260212062522.99565-25-anisinha@redhat.com/mbox/",
    "series": [
        {
            "id": 491935,
            "url": "http://patchwork.ozlabs.org/api/series/491935/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=491935",
            "date": "2026-02-12T06:24:45",
            "name": "Introduce support for confidential guest reset (x86)",
            "version": 4,
            "mbox": "http://patchwork.ozlabs.org/series/491935/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2195839/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2195839/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=hTit2pnK;\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=FC7wAprq;\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 4fBQN449rkz1xvb\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 12 Feb 2026 17:28:04 +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 1vqQB9-0001Xo-K7; Thu, 12 Feb 2026 01:27:59 -0500",
            "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 <anisinha@redhat.com>)\n id 1vqQAQ-0000Nh-03\n for qemu-devel@nongnu.org; Thu, 12 Feb 2026 01:27:12 -0500",
            "from us-smtp-delivery-124.mimecast.com ([170.10.129.124])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <anisinha@redhat.com>)\n id 1vqQAN-0005LW-SF\n for qemu-devel@nongnu.org; Thu, 12 Feb 2026 01:27:09 -0500",
            "from mail-pl1-f198.google.com (mail-pl1-f198.google.com\n [209.85.214.198]) by relay.mimecast.com with ESMTP with STARTTLS\n (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id\n us-mta-607-hsPXWwPqNP-mC77n9XSUig-1; Thu, 12 Feb 2026 01:27:05 -0500",
            "by mail-pl1-f198.google.com with SMTP id\n d9443c01a7336-2aad5fc5b2fso29418025ad.1\n for <qemu-devel@nongnu.org>; Wed, 11 Feb 2026 22:27:05 -0800 (PST)",
            "from rhel9-box.lan ([122.164.27.113])\n by smtp.googlemail.com with ESMTPSA id\n 98e67ed59e1d1-3567e7d95d8sm4894122a91.2.2026.02.11.22.27.01\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Wed, 11 Feb 2026 22:27:04 -0800 (PST)"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1770877627;\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=qFtSZXlJPHuHUflcek1m2W3gH++5/UpYdLyjc7W8PbM=;\n b=hTit2pnKVT/HDYRSd6InyKEW8a5/z70XAVmhe/jWDNVq/hREJyCVwhWD2PwDWj9Y+FXhcj\n zppA+hAcE56PEJ3/GiN2mqh46mM5E/F8lNvp1yS7gpRk/kaJc/KyvW3wAHs0j8qHTzhYU1\n 87UiL54UfGEFmrWbv22v++96UsZkRL4=",
            "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=redhat.com; s=google; t=1770877625; x=1771482425; 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=qFtSZXlJPHuHUflcek1m2W3gH++5/UpYdLyjc7W8PbM=;\n b=FC7wAprqoIXXFjnn5b/w7lARgSFxNaqjZoNgZItRpjIHhigBQKzuIVoGWBYtC0ws0Z\n tH/oCI/i5CPxpNjuWhRb3Vh+3iqG/er4tlKHxDSa/+JojQ+4RIy51Qm0BlV1m7PloWsh\n MoAeIU/1WRJlJ/MGEDJXhira8qJvCcktVzW3z9PL/Kz0aQ1CniI9cLfBCBPAqRzkEObU\n v8xDJhM0XE6j0nuqkz721n3wVQTv5ghnrZ9FVl/83tbDRdhrCmqCIYR9DlGEWpgj18cP\n MalDZVLLX3NRaH69lzrC1ekcsuoC6/J4ztNJiRkfC7irponUYa/aeh7pwzF+wPaSB0xb\n JAGg=="
        ],
        "X-MC-Unique": "hsPXWwPqNP-mC77n9XSUig-1",
        "X-Mimecast-MFC-AGG-ID": "hsPXWwPqNP-mC77n9XSUig_1770877625",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1770877625; x=1771482425;\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=qFtSZXlJPHuHUflcek1m2W3gH++5/UpYdLyjc7W8PbM=;\n b=vLSOlYv2zbOkw21+7kW9QsZ8LV8FHdzozGbQ1WKprWz8W1i5SkuzIy8i6gc+nF4DkV\n jPoK2kfLU/YPQ0ybhiMqeab0aWC9RIp5mqo2LI7oiZHZ0OZd40tBiMkyp/zdto0rIpnI\n 08TnNAJo4sjJNXYyMD70qCXF30SR3jFEz1S1GiMNzuI7r2m5lU/wwiefOY3rIJ9E2DDU\n onF9AgwoZLCYUb3tqvdtXWZ8DrPF8s5PQalvg80lkAymnu/4DaeUQHf9uTUzMFou35PL\n l4ubHkO4g84Wkr/4HWlpnsjH+SxiaVkfaBdr1czqusrCttNb/5P2+q3Q4Il2oC5sRMGZ\n dtVw==",
        "X-Forwarded-Encrypted": "i=1;\n AJvYcCWGZlpPo5+J+KZMXoFWTz/Et8HgmkH8z7LXp/ZXK3aQHPfY/3BNbeMtUbzXpPHN64CljLR3iR2OXWLr@nongnu.org",
        "X-Gm-Message-State": "AOJu0YwlMmE4blckjD8lnrRCIp/3vZXS+8uvdNb4qI2TZ4KVnDHT6DlQ\n gN+JRuRdsmUMV3PGw12CpVDpfRBHjWJaaFxljxLa5Vq2XgS1UEdXKcbQQ7M5rhf9oo3ml5i6tSv\n /1MFqsj9KYu4yh+64Of30LcfFd5I1P8ntaT7PEDsZDgkatL9Qb0ULFXjo",
        "X-Gm-Gg": "AZuq6aI0SIuMZcbr8ESOvZAM1QgBaCni3e/h8K4s4vU7Zp+mODr/l3M5kCVh3F2heij\n La1lCvF3NlSWDJBaiK/cq0ZmD2qs1CQsbGyYMf4tpAtwbnOcxRGuvmlDXLUHQvI2c5iJDdRWGIw\n 3pjsWsnw/gzw6SNBWRKsTLpYXCQ15bBLHSYADcB13umSxRY+gozrB2XOWQz36/6Vzfq0E7Gvk7G\n F/EQqUU7u+c7MRiqgaSbYlK1GD6eSr0CFoj8H4qepUqhTi6XH5JwJL+ngyVDPyzUekkPWBOmbv1\n 0hyibuToLPhf4DinRPoRJJlG/t4aM2V8vFIAKTT1kA9mEr5xPUT7Z8pNxJUu6lfP4qPPHbM4naA\n Z7QpzSvMe314Bou7mKioEVWE8mLEZ0WtRwb/9K/hQlNYyxvwyjpulWmc=",
        "X-Received": [
            "by 2002:a05:6a20:cf83:b0:38b:e750:bc27 with SMTP id\n adf61e73a8af0-3944cfb92abmr1329201637.58.1770877624791;\n Wed, 11 Feb 2026 22:27:04 -0800 (PST)",
            "by 2002:a05:6a20:cf83:b0:38b:e750:bc27 with SMTP id\n adf61e73a8af0-3944cfb92abmr1329185637.58.1770877624461;\n Wed, 11 Feb 2026 22:27:04 -0800 (PST)"
        ],
        "From": "Ani Sinha <anisinha@redhat.com>",
        "To": "Paolo Bonzini <pbonzini@redhat.com>, Marcelo Tosatti <mtosatti@redhat.com>",
        "Cc": "kraxel@redhat.com, Ani Sinha <anisinha@redhat.com>, kvm@vger.kernel.org,\n qemu-devel@nongnu.org",
        "Subject": "[PATCH v4 24/31] kvm/hyperv: add synic feature to CPU only if its not\n enabled",
        "Date": "Thu, 12 Feb 2026 11:55:08 +0530",
        "Message-ID": "<20260212062522.99565-25-anisinha@redhat.com>",
        "X-Mailer": "git-send-email 2.42.0",
        "In-Reply-To": "<20260212062522.99565-1-anisinha@redhat.com>",
        "References": "<20260212062522.99565-1-anisinha@redhat.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Received-SPF": "pass client-ip=170.10.129.124;\n envelope-from=anisinha@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 RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=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": "We need to make sure that synic CPU feature is not already enabled. If it is,\ntrying to enable it again will result in the following assertion:\n\nUnexpected error in object_property_try_add() at ../qom/object.c:1268:\nqemu-system-x86_64: attempt to add duplicate property 'synic' to object (type 'host-x86_64-cpu')\n\nSo enable synic only if its not enabled already.\n\nSigned-off-by: Ani Sinha <anisinha@redhat.com>\n---\n target/i386/kvm/kvm.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/target/i386/kvm/kvm.c b/target/i386/kvm/kvm.c\nindex eec2f27a0f..a6b773db34 100644\n--- a/target/i386/kvm/kvm.c\n+++ b/target/i386/kvm/kvm.c\n@@ -1752,7 +1752,7 @@ static int hyperv_init_vcpu(X86CPU *cpu)\n             return ret;\n         }\n \n-        if (!cpu->hyperv_synic_kvm_only) {\n+        if (!cpu->hyperv_synic_kvm_only && !hyperv_is_synic_enabled()) {\n             ret = hyperv_x86_synic_add(cpu);\n             if (ret < 0) {\n                 error_report(\"failed to create HyperV SynIC: %s\",\n",
    "prefixes": [
        "v4",
        "24/31"
    ]
}