From nobody Fri Nov 21 10:07:30 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=1762445099; cv=none; d=zohomail.com; s=zohoarc; b=Zwxg5zz9ExVEtSep7T3ARlcz/Evxm1LtDP5L3wWq0D8YDW3mBQeb1aJOymI282wrBBZlfjBWbzezJWb5IK8E1tvaeWc6SnYll5gu1l/lL80F6p9J+IP8eW2E8fy57Nb0MC7vAaD05AolCiDlIK385MQwmDm04YyMPnagiAQN5pw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1762445099; h=Content-Type: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=1+yHlYrKtkb+zeceLyZUyKVcCkMzYil1AHVlGmeQOE4=; b=ePmydo4tlHUENqOsDCGz1y/VwAhyaHv03DU+NQTutgli0Ff2uDm/TeZOa56BIh2bW3NtNfN+6QFIwyuPoIHy2kUYvnahp9Wj5I2YQLt/PRifsZtYyy21fFeLSMf0DnvFGKPSS7cyyVazLtykVfW5t88w6yXrUYDBit0Vvxdancw= 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 1762445099073320.2893534941278; Thu, 6 Nov 2025 08:04:59 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 993) id 149B24400B; Thu, 6 Nov 2025 11:04:57 -0500 (EST) Received: from [172.19.199.29] (lists.libvirt.org [8.43.85.245]) by lists.libvirt.org (Postfix) with ESMTP id E2E654410C; Thu, 6 Nov 2025 10:55:46 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 993) id 1CD5D43EDC; Thu, 6 Nov 2025 10:52:58 -0500 (EST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (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 90023442BC for ; Thu, 6 Nov 2025 10:49:12 -0500 (EST) Received: from mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-458-KKWUVjuMPoGeYEVbvZTcBQ-1; Thu, 06 Nov 2025 10:49:11 -0500 Received: from mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.111]) (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 mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 2FE881954B05 for ; Thu, 6 Nov 2025 15:49:10 +0000 (UTC) Received: from orkuz (unknown [10.43.3.115]) by mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id BD4A6180094B for ; Thu, 6 Nov 2025 15:49:09 +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=redhat.com; s=mimecast20190719; t=1762444152; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=1+yHlYrKtkb+zeceLyZUyKVcCkMzYil1AHVlGmeQOE4=; b=F+gMSMLdBHUgfB7mRAkOVUoS5B5JnVKu6RBL+SDS4A4Y+As5Q3kTf6dJ7sfDyUEAdXSFIY AxL4UCruq2FgBT3uuAsjDfhUw0vsF01SSDb0hRQJKPqQtyFjd86U8/MYD9NiCnRgYA9qRs D0wEo/poA60TOjgo5NqAIVUGxVUVSsk= X-MC-Unique: KKWUVjuMPoGeYEVbvZTcBQ-1 X-Mimecast-MFC-AGG-ID: KKWUVjuMPoGeYEVbvZTcBQ_1762444150 To: devel@lists.libvirt.org Subject: [PATCH 12/29] cputest: Read more MSRs in cpu-data.py Date: Thu, 6 Nov 2025 16:48:29 +0100 Message-ID: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.111 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: Lx3s7WrF6mCIrOLat2b1Bz2IBTXoCbDKSaoOMHdcwuE_1762444150 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: CCQ3WTHRCWBT2F6SGCFWP5YSM46YHF3L X-Message-ID-Hash: CCQ3WTHRCWBT2F6SGCFWP5YSM46YHF3L X-MailFrom: jdenemar@redhat.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: Jiri Denemark via Devel Reply-To: Jiri Denemark X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1762445102121158500 Content-Type: text/plain; charset="utf-8" From: Jiri Denemark The features defined in our CPU map use quite a bit more than just the two MSRs the script is currently trying to read. Let's read all of them to get complete host CPU data. Signed-off-by: Jiri Denemark --- tests/cputestdata/cpu-data.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/cputestdata/cpu-data.py b/tests/cputestdata/cpu-data.py index 4d89cd6d5c..9fc70506c7 100755 --- a/tests/cputestdata/cpu-data.py +++ b/tests/cputestdata/cpu-data.py @@ -145,6 +145,15 @@ def gather_msr(): addresses =3D [ 0x10a, # IA32_ARCH_CAPABILITIES_MSR 0xcf, # IA32_CORE_CAPABILITY_MSR + 0x480, # MSR_IA32_VMX_BASIC + 0x485, # MSR_IA32_VMX_MISC + 0x48b, # MSR_IA32_VMX_PROCBASED_CTLS2 + 0x48c, # MSR_IA32_VMX_EPT_VPID_CAP + 0x48d, # MSR_IA32_VMX_TRUE_PINBASED_CTLS + 0x48e, # MSR_IA32_VMX_TRUE_PROCBASED_CTLS + 0x48f, # MSR_IA32_VMX_TRUE_EXIT_CTLS + 0x490, # MSR_IA32_VMX_TRUE_ENTRY_CTLS + 0x491, # MSR_IA32_VMX_VMFUNC ] KVM_GET_MSRS =3D 0xc008ae88 =20 --=20 2.51.0