kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH kvm-unit-tests] x86: mark KVM-only tests
@ 2021-11-16 10:34 Paolo Bonzini
  0 siblings, 0 replies; only message in thread
From: Paolo Bonzini @ 2021-11-16 10:34 UTC (permalink / raw)
  To: kvm; +Cc: drjones

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@redhat.com>
---
 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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-11-16 10:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-16 10:34 [PATCH kvm-unit-tests] x86: mark KVM-only tests Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).