From: Jiri Denemark Date: Thu, 6 Nov 2025 13:10:06 +0000 (+0100) Subject: cputest: Read more MSRs in cpu-data.py X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b7c92ce918d59bd9bef5f8d1fd03133f9113bc13;p=thirdparty%2Flibvirt.git cputest: Read more MSRs in cpu-data.py 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 Reviewed-by: Michal Privoznik --- 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 = [ 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 = 0xc008ae88