[PATCH kvm-unit-tests] vmware_backdoors: run with -cpu host

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



After KVM commit 672ff6cff80ca43bf3258410d2b887036969df5f, reading a VMware
pseudo PMC will fail with #GP unless the PMU is supported by the guest.
Invoke the test with PMU emulation to ensure that it passes.

Signed-off-by: Paolo Bonzini <pbonzini@xxxxxxxxxx>
---
 x86/unittests.cfg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x86/unittests.cfg b/x86/unittests.cfg
index 2abf6d5..ed47d3f 100644
--- a/x86/unittests.cfg
+++ b/x86/unittests.cfg
@@ -157,7 +157,7 @@ check = /proc/sys/kernel/nmi_watchdog=0
 
 [vmware_backdoors]
 file = vmware_backdoors.flat
-extra_params = -machine vmport=on
+extra_params = -machine vmport=on -cpu host
 arch = x86_64
 
 [port80]
-- 
1.8.3.1




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux