Skip to content

kvm-unit-tests: Check CPUID level/xlevel before using CPUID data

Eduardo Habkost kvm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3x86: apic: Look up MAXPHYADDR on CPUID correctlylib/x86/processor.h x86/apic.c+9 -10 replies
2/3x86: vmx: Use cpuid_maxphyaddr()x86/vmx.c+3 -30 replies
3/3x86: Check level, xlevel before returning CPUID datalib/x86/processor.h+11 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] kvm-unit-tests: Check CPUID level/xlevel before using CPUID data

Change the kvm-unit-tests x86 code to always check CPUID level/xlevel before looking at CPUID data. Otherwise, the test code will be looking at bogus data.

Eduardo Habkost (3):
x86: apic: Look up MAXPHYADDR on CPUID correctly
x86: vmx: Use cpuid_maxphyaddr()
x86: Check level, xlevel before returning CPUID data

 lib/x86/processor.h | 18 +++++++++++++++++-
 x86/apic.c          |  2 +-
 x86/vmx.c           |  6 +++---
 3 files changed, 21 insertions(+), 5 deletions(-)
Signature · 1 line
1.9.3