Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.0/patches/2197719/?format=api
{ "id": 2197719, "url": "http://patchwork.ozlabs.org/api/1.0/patches/2197719/?format=api", "project": { "id": 14, "url": "http://patchwork.ozlabs.org/api/1.0/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": "" }, "msgid": "<20260218114233.266178-26-anisinha@redhat.com>", "date": "2026-02-18T11:42:18", "name": "[v5,25/34] 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/1.0/people/86030/?format=api", "name": "Ani Sinha", "email": "anisinha@redhat.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260218114233.266178-26-anisinha@redhat.com/mbox/", "series": [ { "id": 492541, "url": "http://patchwork.ozlabs.org/api/1.0/series/492541/?format=api", "date": "2026-02-18T11:41:56", "name": "Introduce support for confidential guest reset (x86)", "version": 5, "mbox": "http://patchwork.ozlabs.org/series/492541/mbox/" } ], "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2197719/checks/", "tags": {}, "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=MDbHzOYz;\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=Kg9AuDCY;\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 4fGF7P2Jzjz1xvq\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 18 Feb 2026 22:45:21 +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 1vsfz9-0004pD-B5; Wed, 18 Feb 2026 06:44:51 -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 1vsfyY-0003xI-Ih\n for qemu-devel@nongnu.org; Wed, 18 Feb 2026 06:44:15 -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 1vsfyW-0007wU-5X\n for qemu-devel@nongnu.org; Wed, 18 Feb 2026 06:44:13 -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-423-q2So8HxEPlOox_Y0CIelQA-1; Wed, 18 Feb 2026 06:44:04 -0500", "by mail-pl1-f198.google.com with SMTP id\n d9443c01a7336-2a79164b686so70805925ad.0\n for <qemu-devel@nongnu.org>; Wed, 18 Feb 2026 03:44:04 -0800 (PST)", "from rhel9-box.lan ([117.99.83.54])\n by smtp.googlemail.com with ESMTPSA id\n d9443c01a7336-2ad1aaeab38sm127803425ad.82.2026.02.18.03.44.00\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Wed, 18 Feb 2026 03:44:02 -0800 (PST)" ], "DKIM-Signature": [ "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1771415045;\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=1p5ZbFdSM+FDKoKqpM0RbDlLtsFLRzSauSxJ1myhHy4=;\n b=MDbHzOYz+hQCX2kuXf9s42TsiqCENPhntJsc3jQpWaF/ShgLtN41bbVbzxY0TPNNETXaHe\n 2o3kzOehzBa2tZMu3jbuCcAqO8JLil4NS2NdKP22l6qaygY217Wht7LRawVOKPBszzbQBu\n uo87xAy6XQ5i2gcNoRjzBu+7O7RE3AY=", "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=redhat.com; s=google; t=1771415043; x=1772019843; 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=1p5ZbFdSM+FDKoKqpM0RbDlLtsFLRzSauSxJ1myhHy4=;\n b=Kg9AuDCYhPq+0NoaF89lc/hnePdr7Q1wFifILIEIWnnK2KMLnxoCikd8MkIbXAtKkB\n Q3ktesvqmAGbCu0Tmp3cqCFs2TrYMWNuwKQxZ04PIwa1KdEduHzgc4IrPsIZmFTopIyZ\n GKOA8MHtCyaJGV3HPqphfmyg8idCdVMhJlFK6h4XM5yOKmbUoh7Rp3tsyiPs7ot2CXWn\n Wih5Fh9AofxgAMDWP/31x1FxI6Kptwx4njHZNP1HJsV2Euriuu/kzGqDuFpVq6oJ9hRr\n df5f8Owzao4SEeoj9nIjanyAZcfBtAGXFwWi/mLoQTzCPW4V/llWQ5cmS/RtYNStXrXl\n MYfQ==" ], "X-MC-Unique": "q2So8HxEPlOox_Y0CIelQA-1", "X-Mimecast-MFC-AGG-ID": "q2So8HxEPlOox_Y0CIelQA_1771415043", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1771415043; x=1772019843;\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=1p5ZbFdSM+FDKoKqpM0RbDlLtsFLRzSauSxJ1myhHy4=;\n b=wuNgdOaZ+5x7Okl0c23MBtYWouN7CsveFyuEuXNWs0ckBmloQRisbNjGXQrVqT4KOI\n fhxy/yKtoM+XncX07GiKjrwg6oItTt+GzaZAbkgheu+UkBUcGqfWeL+Sqp1iGBXQaTYT\n yq1WAHW9YsCwcOV8HrsvZdyXsfGlCVYEBEWXBqksDwENIs7+YOz3dO85pAZah9pMVr/w\n cQFRwoAsPw6LL0HVVsL+CzOWhb7trKmhYRryLBcDGHguV7SYYAgroE3HcOcbSEBWxuNV\n 54xeX017eFWJZsBW2WNDgjFfHZPQGG9pW3fAkpGMEvSABMj4u8GoHgrwh9fNkHfqBdBS\n ZXUQ==", "X-Forwarded-Encrypted": "i=1;\n AJvYcCUlbH1GF5F+Aba5WLTMQ8VLKiA2+3VJs9ebzH/joFnpnTnLAL6Q5z9fBkBVbfM4JFfRfsKguXVmX13j@nongnu.org", "X-Gm-Message-State": "AOJu0YzcFfgIb6NveMdVJ8M2+tTBZIbhig4F3qi9rvwV1ZF1PfX0YkXX\n mGnSSawcAnH89WTsCCqruE5H3jgUGxMelHwF6qpEBzLP4JknzPzNEWAzJLQAGDsrewnwL9zUtWJ\n /MNureHb4Z+r5TGG4lD5RO2XZYRI+EZu7KgwuW1wAwFMRu9iShwNuRepZ", "X-Gm-Gg": "AZuq6aI6ICZMbkkw8aRLswqucITs5QaLo9U3/kWVAdIUMZeHa/JTJfFhr2PATkrT8OI\n qQAKuqqNkh7es4RYUR7veGnFA9JmPpbUMWqQolwnJoqhLY7Iy9a7stNVBsGmQgjr4ISyEMx+kHE\n ZsfXCPEVPKP6NfngbO7E6ZFPpSyxlcpaH0xr5MVIieOT7BlW3Q4RpsRldgfjX7aty/bPukwzajZ\n 4ucIhnL6XdxBmJp0QWQasVpj91Cyp7U48YcxKTQ0hmfA3G5S0+jBAnBodgX8GqTLbaTUHfKqQhI\n ShULwPKuzjmCR+oXXG7EJsRr99aAuMl0x1fpnVcCH0WTCZEOUJz/f/q4NHBZhwBgQf1aHIonfqB\n bgORtP4Yo0BhyfDcvUfC2eaul/tcU2eGX24udlDot9FG1foGPjQbV", "X-Received": [ "by 2002:a17:902:f681:b0:2a0:fb1c:143d with SMTP id\n d9443c01a7336-2ad50e74e46mr13383125ad.1.1771415043428;\n Wed, 18 Feb 2026 03:44:03 -0800 (PST)", "by 2002:a17:902:f681:b0:2a0:fb1c:143d with SMTP id\n d9443c01a7336-2ad50e74e46mr13382985ad.1.1771415043043;\n Wed, 18 Feb 2026 03:44:03 -0800 (PST)" ], "From": "Ani Sinha <anisinha@redhat.com>", "To": "Paolo Bonzini <pbonzini@redhat.com>, Marcelo Tosatti <mtosatti@redhat.com>", "Cc": "Ani Sinha <anisinha@redhat.com>, kraxel@redhat.com, kvm@vger.kernel.org,\n qemu-devel@nongnu.org", "Subject": "[PATCH v5 25/34] kvm/hyperv: add synic feature to CPU only if its not\n enabled", "Date": "Wed, 18 Feb 2026 17:12:18 +0530", "Message-ID": "<20260218114233.266178-26-anisinha@redhat.com>", "X-Mailer": "git-send-email 2.42.0", "In-Reply-To": "<20260218114233.266178-1-anisinha@redhat.com>", "References": "<20260218114233.266178-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.043,\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_H4=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 5c8ec77212..ff5dc5b02a 100644\n--- a/target/i386/kvm/kvm.c\n+++ b/target/i386/kvm/kvm.c\n@@ -1761,7 +1761,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": [ "v5", "25/34" ] }