kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH kvm-unit-tests] x86: unittests.cfg: add -cpu host to pmu and tsc_adjust
@ 2014-08-05 10:27 Paolo Bonzini
  0 siblings, 0 replies; only message in thread
From: Paolo Bonzini @ 2014-08-05 10:27 UTC (permalink / raw)
  To: kvm; +Cc: chris.j.arges

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@canonical.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 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


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

only message in thread, other threads:[~2014-08-05 10:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-05 10:27 [PATCH kvm-unit-tests] x86: unittests.cfg: add -cpu host to pmu and tsc_adjust 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).