From: Jiri Denemark <[email protected]> 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 <[email protected]> --- 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 = [ 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 -- 2.51.0
