From nobody Fri Dec 12 12:55:41 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass(p=reject dis=none) header.from=lists.libvirt.org ARC-Seal: i=1; a=rsa-sha256; t=1763991936; cv=none; d=zohomail.com; s=zohoarc; b=kH8SSqMPxC+HFYCSfgIWYc1uTDX8V3HqaNme/CzJ/ylx3sY2Uu+JH1Lj+Tc/yfTduVB9g4mFsZkAP8Z+wF3/QDJAV+4Ao6y4OpLPwmBEzQ5ovV2dvbgiWuN7BhZaPedmiUJW4dUCnEEP1HNQDlt/yyqjwOZm6UrJvNsQ+3h8kMU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1763991936; h=Content-Transfer-Encoding:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Owner:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Reply-To:References:Subject:Subject:To:To:Message-Id:Cc; bh=y6FfBEKSSGW6FUYWz8C6JC9cgN/80WgndBtkIcoMg9o=; b=gg8fC5lG+nV6SOdPj7X1ItyKVfg4Rri2ATVk7y2Ou/JisBzc/VZwJ6dB567+yL4TjY9yUF4QEuvipYBqc2mFbnI9fj+E0oifWTqxWQoCi4R7F4svyZth5I1WS2xlpkleaZvLVu1B+uoLeLcqLihvNIqOCbWXPawlE9HgKV0WRPk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1763991933670583.2074970883738; Mon, 24 Nov 2025 05:45:33 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 993) id 21565418FD; Mon, 24 Nov 2025 08:45:28 -0500 (EST) Received: from [172.19.199.65] (lists.libvirt.org [8.43.85.245]) by lists.libvirt.org (Postfix) with ESMTP id 64F7644365; Mon, 24 Nov 2025 08:41:40 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 993) id 4755143DBC; Mon, 24 Nov 2025 08:40:41 -0500 (EST) Received: from smtp-relay-canonical-0.canonical.com (smtp-relay-canonical-0.canonical.com [185.125.188.120]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (3072 bits) server-digest SHA256) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id 5709D41C78 for ; Mon, 24 Nov 2025 08:40:39 -0500 (EST) Received: from localhost.localdomain (2.general.hector.uk.vpn [10.172.192.135]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-0.canonical.com (Postfix) with ESMTPSA id 9F4B940960 for ; Mon, 24 Nov 2025 13:40:37 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_PASS autolearn=unavailable autolearn_force=no version=4.0.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20251003; t=1763991637; bh=y6FfBEKSSGW6FUYWz8C6JC9cgN/80WgndBtkIcoMg9o=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=eZ+C683dldYH/QhFY8TZCyy38wfRuz1aCRrm4OcmhBtoMdOiDBNYTu1F3jxemr8Rp hX6IDSkXYf2qPDUrB+9XwVeSNKok6+c1UycDK24I2mMx+0yZgzuZomKYYotxp18jxL tz9/qgIPBW9PzOrsVZf6o/DchwQhJcqDlE51S415wBHlUZKnAx/+OflC0bFFTpNGir MKVh4m1XZiLVacgtj6j7dVpBs6JgnzpA4lAZUC8mKDMF6wU9WtmsdEeUgfEexIAc06 GJkxj7J0mvLFO2kEUa1VKg+IcW+oMNj5eY+V2FeEH9X06cQ+8YiSAEL9SLsO0kCFRp A0c6PrVs3Clx5313/gHpV7N5+ZbcxHUYU9Jbcbw7pcRZLvPTbHmzcfYM2izdBR7733 jXjjDFbaAESj3krSEc0nBzqX4S3YVwu3QEGydzPAkoS/QI158n/o9fbGg0vbL8KGDE 7kIb1ciStqlWFbq2LipK4gkijBL8Wp+OfNbmNjRoDs2sGOMTt8FIWEQ1YXbtzlpDri waw09zoaGtMavRogloOpQvk3SQpjkVAYdT6zCRgx7S2t4cOjrmq820VNt7Vb8UG46e 8PSx77RAmeVcx2dLRISROcVMlVCyCkZaGP4bAsog2+UJbuj1MHE8sGpDYXDm6SX4iL evms07oZGJTB8llJr3bLpHG4= To: devel@lists.libvirt.org Subject: [PATCH 1/3] cpu_map: fix sync script to extract correctly vmx-* features Date: Mon, 24 Nov 2025 14:40:29 +0100 Message-ID: <20251124134031.58469-2-hector.cao@canonical.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20251124134031.58469-1-hector.cao@canonical.com> References: <20251124134031.58469-1-hector.cao@canonical.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-ID-Hash: OF2ARWH7JZCD27XPCGRKQMOBSFBAD5ZM X-Message-ID-Hash: OF2ARWH7JZCD27XPCGRKQMOBSFBAD5ZM X-MailFrom: hector.cao@canonical.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-devel.lists.libvirt.org-0; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Hector Cao via Devel Reply-To: Hector Cao X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1763991938377019200 Content-Type: text/plain; charset="utf-8" The src/cpu_map/x86_features.xml file contains the definition of all x86 CPU features, these definitions specify how we can decode the feature support fom the CPUID or MSR values. The helper script sync_qemu_features_i386.py builds the x86_features.xml file from QEMU source code to be in sync with supported features in QEMU. This helper script parses QEMU target/i386/cpu.c file looking for CPU feature definitions and convert them into x86_features.xml contents. This is the resulting definition for the vmx-intr-exit feature encoded in the MSR 0x48d. EAX holds the 32 lower bits of the MSRE 64-bits value and should not be used to detect the VMX-* features. Indeed, VMX-* bit position should be parsed from QEMU source code in the 32 higher bits of the corresponding MSR value. This commit fixes this issue by using the 32 higher bits (EDX) to represent VMX-* features. --- src/cpu_map/sync_qemu_features_i386.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/cpu_map/sync_qemu_features_i386.py b/src/cpu_map/sync_qemu= _features_i386.py index b658b864f2..ed65d9966a 100755 --- a/src/cpu_map/sync_qemu_features_i386.py +++ b/src/cpu_map/sync_qemu_features_i386.py @@ -1,6 +1,7 @@ #!/usr/bin/env python3 =20 import argparse +import enum import os import re =20 @@ -201,6 +202,19 @@ def add_feature_cpuid(eax, ecx, reg, bit, name): =20 _FEATURES["cpuid"][eax][ecx][reg][bit] =3D name =20 +class VmxMsr(enum.Enum): + MSR_IA32_VMX_PROCBASED_CTLS2 =3D 0x0000048b + MSR_IA32_VMX_TRUE_PINBASED_CTLS =3D 0x0000048d + MSR_IA32_VMX_TRUE_PROCBASED_CTLS =3D 0x0000048e + MSR_IA32_VMX_TRUE_ENTRY_CTLS =3D 0x00000490 + MSR_IA32_VMX_TRUE_EXIT_CTLS =3D 0x0000048f + +def is_vmx_msr(msr): + try: + VmxMsr(msr) + return True + except ValueError: + return False =20 # add new msr feature bit def add_feature_msr(msr, bit, name): @@ -213,6 +227,11 @@ def add_feature_msr(msr, bit, name): if msr not in _FEATURES["msr"]: _FEATURES["msr"][msr] =3D dict() =20 + # VMX-* features are specified in the 32 higher bits + # of the MSR value + if is_vmx_msr(msr): + bit +=3D 32 + _FEATURES["msr"][msr][bit] =3D name =20 =20 --=20 2.45.2 From nobody Fri Dec 12 12:55:41 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass(p=reject dis=none) header.from=lists.libvirt.org ARC-Seal: i=1; a=rsa-sha256; t=1763992125; cv=none; d=zohomail.com; s=zohoarc; b=SDBdyLVksf1CasPfhAS8yT9YxHaqp5hd49NmjKFGZLQ4EQPnZ4r6kAoEQ8GON6ImexoIRyRCXA2tnH5SgfbPm72Nk3lKDsm7X0641n7AVAbCLW5SWBpVVod/ElzE/l5G9sX+AUuJ04Mf54uIN0WWJM+YMC53x1n+KgKrv3xBZac= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1763992125; h=Content-Transfer-Encoding:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Owner:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Reply-To:References:Subject:Subject:To:To:Message-Id:Cc; bh=qHanFlAwLE2IioMcjubv3iSAjGFUQEHwC3NgpLvRhbg=; b=Pb56/lWV5QoKFPdUlHGKuGf+ixXDAI7e1/PX9GTLO9NV+34bukSoQLyq+Z0ZFvXoV/Vo0Pem4AfVM1Fv0gGJVLjUAw6rWk/ZM7BucvDSZ5iJGZb8Mu21T0iHynEDng+U5IhMq6RgRLbuXLQpqLEpOvmkBzLGh6ixl4QfZMlxO6Q= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 176399212593087.90026816808529; Mon, 24 Nov 2025 05:48:45 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 993) id 4424E444CC; Mon, 24 Nov 2025 08:48:45 -0500 (EST) Received: from [172.19.199.65] (lists.libvirt.org [8.43.85.245]) by lists.libvirt.org (Postfix) with ESMTP id B8DA6443C3; Mon, 24 Nov 2025 08:41:45 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 993) id 375AB43DBC; Mon, 24 Nov 2025 08:40:42 -0500 (EST) Received: from smtp-relay-canonical-0.canonical.com (smtp-relay-canonical-0.canonical.com [185.125.188.120]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (3072 bits) server-digest SHA256) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id 61F9143DCA for ; Mon, 24 Nov 2025 08:40:39 -0500 (EST) Received: from localhost.localdomain (2.general.hector.uk.vpn [10.172.192.135]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-0.canonical.com (Postfix) with ESMTPSA id D455A44974 for ; Mon, 24 Nov 2025 13:40:37 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_PASS autolearn=unavailable autolearn_force=no version=4.0.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20251003; t=1763991637; bh=qHanFlAwLE2IioMcjubv3iSAjGFUQEHwC3NgpLvRhbg=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=J3wClMKEtSN28NFh6tFZYfOvsCK4i8azKYy03Hg54+po/U4WeZiOJF9aWX1AuKarw aSxj4c6sW07fP+U7HjUh/Pb5BHOrKNw3EKOriIxEJkGtMfwxm50zqUzJ/1MfnYcNjX 9wGvQWEKnl6cxkWpAjUNJIuNCieHLfy9GE/AvOnEQ6yzqjpkmpC+vwBrWTnQkd7uM1 reupBe96B5zCYBgRqTwz2b7yGwiXpL60kF0cMb/QH09OBoGULTFeZt5nM9RDJJm+tF oGomDIgGXALgRUAc0imLFnucmFEB2Ph6tmyrl0zJ/4UvvAxenw3vqXW3zB61tUAQNG M8YLa9n32YQRpNGV08GyTCHt7er6JLUfuWtmxD8kHTm5EZmHNZNj4fbhG+0tKM1/PZ T8qtHq1bR3Q3v7itUXHG4Bvce4T5YbDf2i4Q6yil7fMx6qjCLypRy1I4yio98StwBz WiHGTvZsuNmlR+j+9IvA+YRoHJu528qjkc0SZMiY4z3eJvB3L6PJzvmKIxuoWlr9bl qIHPY4cZ6ImTVv5liqYyhRpWEyQb7HumjT9Qmpvc/9ntpVHvlveWjrPpt0sFtz387T NEAnojscX2q1adAMRTiEr9wz+IVCyhsbAFbskLmHjlmM60m/SCC/eesC/2z30Mp7B6 q155XRCPUcpFRmv92dw2XWvQ= To: devel@lists.libvirt.org Subject: [PATCH 2/3] cpu_map: update vmx-* features Date: Mon, 24 Nov 2025 14:40:30 +0100 Message-ID: <20251124134031.58469-3-hector.cao@canonical.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20251124134031.58469-1-hector.cao@canonical.com> References: <20251124134031.58469-1-hector.cao@canonical.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-ID-Hash: FHXYILEZPWCNJICIYEAZHUGGWIUDUWN5 X-Message-ID-Hash: FHXYILEZPWCNJICIYEAZHUGGWIUDUWN5 X-MailFrom: hector.cao@canonical.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-devel.lists.libvirt.org-0; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Hector Cao via Devel Reply-To: Hector Cao X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1763992127397019200 Content-Type: text/plain; charset="utf-8" the vmx-* features are currently decoded from the 32-lower bits (EAX) of the MSR 64-bit values. They should be decoded instead from the 32-higher bits (EDX). --- src/cpu_map/x86_features.xml | 136 +++++++++--------- .../x86_64-cpuid-Atom-P5362-2-enabled.xml | 10 +- .../x86_64-cpuid-Atom-P5362-enabled.xml | 10 +- .../x86_64-cpuid-Cooperlake-enabled.xml | 10 +- .../x86_64-cpuid-Core-i7-1270P-enabled.xml | 10 +- .../x86_64-cpuid-Core-i7-1365U-enabled.xml | 10 +- .../x86_64-cpuid-Core-i7-8550U-enabled.xml | 10 +- .../x86_64-cpuid-Xeon-6731E-enabled.xml | 10 +- .../x86_64-cpuid-Xeon-6788P-disabled.xml | 1 + .../x86_64-cpuid-Xeon-6788P-enabled.xml | 10 +- ...x86_64-cpuid-Xeon-Bronze-3408U-enabled.xml | 10 +- .../x86_64-cpuid-Xeon-E3-1270-v5-enabled.xml | 10 +- .../x86_64-cpuid-Xeon-Gold-6152-enabled.xml | 10 +- .../x86_64-cpuid-Xeon-Gold-6530-enabled.xml | 10 +- ...86_64-cpuid-Xeon-Platinum-9242-enabled.xml | 10 +- ...x86_64-cpuid-Xeon-Silver-4214R-enabled.xml | 10 +- .../x86_64-cpuid-Xeon-w7-3465X-enabled.xml | 10 +- 17 files changed, 144 insertions(+), 143 deletions(-) diff --git a/src/cpu_map/x86_features.xml b/src/cpu_map/x86_features.xml index 5220a3d172..2a2ac57f90 100644 --- a/src/cpu_map/x86_features.xml +++ b/src/cpu_map/x86_features.xml @@ -982,67 +982,67 @@ =20 - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + =20 @@ -1101,151 +1101,151 @@ =20 - + - + - + - + - + =20 - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + =20 - + - + - + - + - + - + - + - + - + - + - + - + =20 - + - + - + - + - + - + - + - + - + =20 diff --git a/tests/cputestdata/x86_64-cpuid-Atom-P5362-2-enabled.xml b/test= s/cputestdata/x86_64-cpuid-Atom-P5362-2-enabled.xml index b2caa79560..d3acea7fb5 100644 --- a/tests/cputestdata/x86_64-cpuid-Atom-P5362-2-enabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Atom-P5362-2-enabled.xml @@ -9,11 +9,11 @@ - + - - - - + + + + diff --git a/tests/cputestdata/x86_64-cpuid-Atom-P5362-enabled.xml b/tests/= cputestdata/x86_64-cpuid-Atom-P5362-enabled.xml index 77613d6071..d9c8a18ddb 100644 --- a/tests/cputestdata/x86_64-cpuid-Atom-P5362-enabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Atom-P5362-enabled.xml @@ -9,11 +9,11 @@ - + - - - - + + + + diff --git a/tests/cputestdata/x86_64-cpuid-Cooperlake-enabled.xml b/tests/= cputestdata/x86_64-cpuid-Cooperlake-enabled.xml index 08609a89a5..27bc5c49b7 100644 --- a/tests/cputestdata/x86_64-cpuid-Cooperlake-enabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Cooperlake-enabled.xml @@ -10,11 +10,11 @@ - + - - - - + + + + diff --git a/tests/cputestdata/x86_64-cpuid-Core-i7-1270P-enabled.xml b/tes= ts/cputestdata/x86_64-cpuid-Core-i7-1270P-enabled.xml index 8af57fe0df..50ffe707d1 100644 --- a/tests/cputestdata/x86_64-cpuid-Core-i7-1270P-enabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Core-i7-1270P-enabled.xml @@ -11,11 +11,11 @@ - + - - - - + + + + diff --git a/tests/cputestdata/x86_64-cpuid-Core-i7-1365U-enabled.xml b/tes= ts/cputestdata/x86_64-cpuid-Core-i7-1365U-enabled.xml index 433c09590c..1f6363183c 100644 --- a/tests/cputestdata/x86_64-cpuid-Core-i7-1365U-enabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Core-i7-1365U-enabled.xml @@ -11,11 +11,11 @@ - + - - - - + + + + diff --git a/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-enabled.xml b/tes= ts/cputestdata/x86_64-cpuid-Core-i7-8550U-enabled.xml index 424c2492bd..04b63dc586 100644 --- a/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-enabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-enabled.xml @@ -8,11 +8,11 @@ - + - - - - + + + + diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-6731E-enabled.xml b/tests/= cputestdata/x86_64-cpuid-Xeon-6731E-enabled.xml index e9a9bb3ee1..907b0c68fe 100644 --- a/tests/cputestdata/x86_64-cpuid-Xeon-6731E-enabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Xeon-6731E-enabled.xml @@ -11,11 +11,11 @@ - + - - - - + + + + diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-6788P-disabled.xml b/tests= /cputestdata/x86_64-cpuid-Xeon-6788P-disabled.xml index 58f1456f81..5dd24f2d17 100644 --- a/tests/cputestdata/x86_64-cpuid-Xeon-6788P-disabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Xeon-6788P-disabled.xml @@ -7,4 +7,5 @@ + diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-6788P-enabled.xml b/tests/= cputestdata/x86_64-cpuid-Xeon-6788P-enabled.xml index 6e2caa27f5..c70cd4fdef 100644 --- a/tests/cputestdata/x86_64-cpuid-Xeon-6788P-enabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Xeon-6788P-enabled.xml @@ -12,11 +12,11 @@ - + - - - - + + + + diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-Bronze-3408U-enabled.xml b= /tests/cputestdata/x86_64-cpuid-Xeon-Bronze-3408U-enabled.xml index d4d780d899..84fc093c94 100644 --- a/tests/cputestdata/x86_64-cpuid-Xeon-Bronze-3408U-enabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Xeon-Bronze-3408U-enabled.xml @@ -11,11 +11,11 @@ - + - - - - + + + + diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-E3-1270-v5-enabled.xml b/t= ests/cputestdata/x86_64-cpuid-Xeon-E3-1270-v5-enabled.xml index 72bfea23de..27ce9c5910 100644 --- a/tests/cputestdata/x86_64-cpuid-Xeon-E3-1270-v5-enabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Xeon-E3-1270-v5-enabled.xml @@ -8,11 +8,11 @@ - + - - - - + + + + diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-Gold-6152-enabled.xml b/te= sts/cputestdata/x86_64-cpuid-Xeon-Gold-6152-enabled.xml index 81421fd0b3..fec5d74fc5 100644 --- a/tests/cputestdata/x86_64-cpuid-Xeon-Gold-6152-enabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Xeon-Gold-6152-enabled.xml @@ -9,11 +9,11 @@ - + - - - - + + + + diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-Gold-6530-enabled.xml b/te= sts/cputestdata/x86_64-cpuid-Xeon-Gold-6530-enabled.xml index de6ca528c4..db6cde2570 100644 --- a/tests/cputestdata/x86_64-cpuid-Xeon-Gold-6530-enabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Xeon-Gold-6530-enabled.xml @@ -10,11 +10,11 @@ - + - - - - + + + + diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-enabled.xml = b/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-enabled.xml index a8e24f2302..343f055ebf 100644 --- a/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-enabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-enabled.xml @@ -9,11 +9,11 @@ - + - - - - + + + + diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-Silver-4214R-enabled.xml b= /tests/cputestdata/x86_64-cpuid-Xeon-Silver-4214R-enabled.xml index 05da313503..95e74865cc 100644 --- a/tests/cputestdata/x86_64-cpuid-Xeon-Silver-4214R-enabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Xeon-Silver-4214R-enabled.xml @@ -9,11 +9,11 @@ - + - - - - + + + + diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-w7-3465X-enabled.xml b/tes= ts/cputestdata/x86_64-cpuid-Xeon-w7-3465X-enabled.xml index de6ca528c4..db6cde2570 100644 --- a/tests/cputestdata/x86_64-cpuid-Xeon-w7-3465X-enabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Xeon-w7-3465X-enabled.xml @@ -10,11 +10,11 @@ - + - - - - + + + + --=20 2.45.2 From nobody Fri Dec 12 12:55:41 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass(p=reject dis=none) header.from=lists.libvirt.org ARC-Seal: i=1; a=rsa-sha256; t=1763991848; cv=none; d=zohomail.com; s=zohoarc; b=K+3/AETZL+uyreDWQEOA5ynUd10xnRTdKzklbqPVBR6VxQq2k7g0oFuW7BBBPxXpGqFZujgv5d3+WEwXCrmy7JAc1KYjTjHT4fr+ekD1KXsTnmv7TS9DS70AiHHH3BzL18DQ84etvggRnBdOJto63iVyRMxrRHqHeTHfI325Quc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1763991848; h=Content-Transfer-Encoding:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Owner:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Reply-To:References:Subject:Subject:To:To:Message-Id:Cc; bh=17Fkut4JsIzp4bwgtFuJzyv8x+DxbRq8awRwddXqe+A=; b=DLtp8T8YjxhKP6T16qyLrGTLRlo9yL/GpBl0VkK7jmRhlPA6pS8uT++0NYJtAQlSpY4UcVEEnqimoYr1LbdV/AloM0aDPhPf4m1QbdOCGh0hHlMAchQC9R4ivipT1c4QHK5xFbvj7yhAmdKcXQQoBLvucz5xmMopGtA4eKJ6G8A= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1763991848664868.410935314159; Mon, 24 Nov 2025 05:44:08 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 993) id E858444370; Mon, 24 Nov 2025 08:44:05 -0500 (EST) Received: from [172.19.199.65] (lists.libvirt.org [8.43.85.245]) by lists.libvirt.org (Postfix) with ESMTP id A595C4427F; Mon, 24 Nov 2025 08:41:36 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 993) id E40BB43DBC; Mon, 24 Nov 2025 08:40:40 -0500 (EST) Received: from smtp-relay-canonical-0.canonical.com (smtp-relay-canonical-0.canonical.com [185.125.188.120]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (3072 bits) server-digest SHA256) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id 64C5C43DD1 for ; Mon, 24 Nov 2025 08:40:39 -0500 (EST) Received: from localhost.localdomain (2.general.hector.uk.vpn [10.172.192.135]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-0.canonical.com (Postfix) with ESMTPSA id 165D444978 for ; Mon, 24 Nov 2025 13:40:38 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_PASS autolearn=unavailable autolearn_force=no version=4.0.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20251003; t=1763991638; bh=17Fkut4JsIzp4bwgtFuJzyv8x+DxbRq8awRwddXqe+A=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=LjPKgXsU0sr9R12zpvr04z4rBfOYqEZCimPd+bo+lqZeq3wydIIPOknYNMHeCvQtw KrAzCom1ExOnfgG3KD9y6yVV5uSnzR/DO7t8K2iGdLZSvPHoRu7iklQ2HEblntVq4M s+z2zgMD3M8+78qzeD2OLl0IN84if8mOKZHMHUVkJgOKO1bbMeOzcvsc+XcWXdkgVL VIQoDQY2Ujqy2IFBBeqTsA4rskp4dvuy/VEDycwFGZ/f+68ATikkcCP1dEhbY4Z51C ENlOg7bekZo2au8hA8EbfQF25qiBkQeLdWpGWDcphreJ+yL/IfSdrs9fyEKM3LjXOf XJHM9+ktNV9k3UMVuP+pm8tN28BQItjqR5R7AFectdQwnsygV2wv0dVzJNSojGyVeV VT0y63bMei9EHF60vi6sonuaCdTfCQSmrB9oVcNUv09pPZd4CWtL9ApxhmMhwYXkMg TOQgRiLlxUMTt8caKA1hhOZnLhM23oO27OhE9e+ZcdRdnxinkH8145lJvrLb4mOcmf tX7RAdhEuHf27CO9IPKttZJ9Irve9o2v7Lb5wdOgsK2FGMHmws/or7dSexNLASnF8x ZLT7ZIpr9osjHUwELoFGYk174ujXpAbEvbfWHrIC7+yjeYNetKnVmqmofFimvSijqJ NBTBP6E/33j1aIFRq2nqEy0E= To: devel@lists.libvirt.org Subject: [PATCH 3/3] cputest : fix test failures due to VMX-* feature update Date: Mon, 24 Nov 2025 14:40:31 +0100 Message-ID: <20251124134031.58469-4-hector.cao@canonical.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20251124134031.58469-1-hector.cao@canonical.com> References: <20251124134031.58469-1-hector.cao@canonical.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-ID-Hash: PQXADI5FHR5XYMMGAVYHKT2LXVKFINNL X-Message-ID-Hash: PQXADI5FHR5XYMMGAVYHKT2LXVKFINNL X-MailFrom: hector.cao@canonical.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-devel.lists.libvirt.org-0; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Hector Cao via Devel Reply-To: Hector Cao X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1763991849816019200 Content-Type: text/plain; charset="utf-8" --- .../x86_64-cpuid-Xeon-6788P-guest.xml | 17 ++++++++--------- .../x86_64-cpuid-Xeon-6788P-host.xml | 17 ++++++++++------- 2 files changed, 18 insertions(+), 16 deletions(-) diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-6788P-guest.xml b/tests/cp= utestdata/x86_64-cpuid-Xeon-6788P-guest.xml index 8b651338ec..f5d80aebf8 100644 --- a/tests/cputestdata/x86_64-cpuid-Xeon-6788P-guest.xml +++ b/tests/cputestdata/x86_64-cpuid-Xeon-6788P-guest.xml @@ -55,6 +55,7 @@ + @@ -63,16 +64,7 @@ - - - - - - - - - @@ -99,6 +91,11 @@ + + + + + @@ -112,6 +109,7 @@ + @@ -119,6 +117,7 @@ + diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-6788P-host.xml b/tests/cpu= testdata/x86_64-cpuid-Xeon-6788P-host.xml index e0419f91bd..55fd746133 100644 --- a/tests/cputestdata/x86_64-cpuid-Xeon-6788P-host.xml +++ b/tests/cputestdata/x86_64-cpuid-Xeon-6788P-host.xml @@ -89,13 +89,16 @@ + + + + + + + + + + - - - - - - - --=20 2.45.2