[PATCH kvm-unit-tests] x86: unittests.cfg: add -cpu host to pmu and tsc_adjust

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

 



vPMU is only available with "-cpu host", and so is TSC_ADJUST because
the QEMU CPU models forgot about it.

Adjust these two tests to use the option.

Reported-by: Chris J Arges <chris.j.arges@xxxxxxxxxxxxx>
Signed-off-by: Paolo Bonzini <pbonzini@xxxxxxxxxx>
---
 x86/unittests.cfg | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/x86/unittests.cfg b/x86/unittests.cfg
index d78fe0e..6d3e23a 100644
--- a/x86/unittests.cfg
+++ b/x86/unittests.cfg
@@ -91,6 +91,7 @@ file = msr.flat
 
 [pmu]
 file = pmu.flat
+extra_params = -cpu host
 
 [port80]
 file = port80.flat
@@ -109,6 +110,7 @@ file = tsc.flat
 
 [tsc_adjust]
 file = tsc_adjust.flat
+extra_params = -cpu host
 
 [xsave]
 file = xsave.flat
-- 
1.9.3

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[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