Add "msr64" to run the MSR test with a CPU model of "qemu64" instead of "max" to provide coverage for MSRs that exist in the underlying hardware, but not in the guest's CPU model. Signed-off-by: Sean Christopherson <seanjc@xxxxxxxxxx> --- x86/unittests.cfg | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/x86/unittests.cfg b/x86/unittests.cfg index a0eef541..a2b351ff 100644 --- a/x86/unittests.cfg +++ b/x86/unittests.cfg @@ -171,6 +171,13 @@ arch = x86_64 file = msr.flat extra_params = -cpu max,vendor=GenuineIntel +[msr64] +# Same as above, but with a minimal 64-bit CPU model to validate cases where an +# MSR is supported in the underlying hardware, but not the guest's CPU model. +arch = x86_64 +file = msr.flat +extra_params = -cpu qemu64,vendor=GenuineIntel + [pmu] file = pmu.flat extra_params = -cpu max -- 2.50.0.rc0.604.gd4ff7b7c86-goog