TCG does not emulate the PMU nor the intricacies of the VMware backdoor I/O port. Disable those tests unless running on KVM. Signed-off-by: Paolo Bonzini <pbonzini@xxxxxxxxxx> --- x86/unittests.cfg | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/x86/unittests.cfg b/x86/unittests.cfg index 6585df4..efdc89a 100644 --- a/x86/unittests.cfg +++ b/x86/unittests.cfg @@ -178,12 +178,14 @@ extra_params = -cpu max,vendor=GenuineIntel file = pmu.flat extra_params = -cpu max check = /proc/sys/kernel/nmi_watchdog=0 +accel = kvm [pmu_lbr] file = pmu_lbr.flat extra_params = -cpu host,migratable=no check = /sys/module/kvm/parameters/ignore_msrs=N check = /proc/sys/kernel/nmi_watchdog=0 +accel = kvm [pmu_emulation] file = pmu.flat @@ -191,12 +193,14 @@ arch = x86_64 extra_params = -cpu max -append emulation check = /sys/module/kvm_intel/parameters/force_emulation_prefix=Y check = /proc/sys/kernel/nmi_watchdog=0 +accel = kvm [vmware_backdoors] file = vmware_backdoors.flat extra_params = -machine vmport=on -cpu max check = /sys/module/kvm/parameters/enable_vmware_backdoor=Y arch = x86_64 +accel = kvm [realmode] file = realmode.flat -- 2.27.0