[kvm-unit-tests PATCH] x86: svm: add tsc-adjust to guest CPU flags

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

 



The svm test uses -cpu qemu64, which may not include tsc-adjust on some qemu
versions. That makes the tsc-adjust test fail. If that flag is added, it works
fine on a AMD Quad-Core Processor.

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@xxxxxxxxxxxxx>
---
 x86/unittests.cfg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x86/unittests.cfg b/x86/unittests.cfg
index 2abf6d5502d7..2f9d4cc5786e 100644
--- a/x86/unittests.cfg
+++ b/x86/unittests.cfg
@@ -197,7 +197,7 @@ arch = x86_64
 [svm]
 file = svm.flat
 smp = 2
-extra_params = -cpu qemu64,+svm
+extra_params = -cpu qemu64,+svm,+tsc-adjust
 arch = x86_64
 
 [taskswitch]
-- 
2.20.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