Skip to contentSkip to conversation

x86: svm: run svm.flat unit tests with -cpu host

PATCH Applied Vitaly Kuznetsov 2 participants 2 messages Oct 8, 2019 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86: svm: run svm.flat unit tests with -cpu host

With -cpu qemu64 we skip many good tests (next_rip, npt_*) and tsc_adjust is failing. VMX tests already use '-cpu host'.

---
 x86/unittests.cfg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
x86/unittests.cfg +1 -1
index 8156256146c3..e7aa1e9844f1 100644
@@ -198,7 +198,7 @@ arch = x86_64
 [svm]
 file = svm.flat
 smp = 2
-extra_params = -cpu qemu64,+svm
+extra_params = -cpu host,+svm
 arch = x86_64
 
 [taskswitch]
Signature · 1 line
2.20.1
maintainer Applied
#1 lore raw
Quoted 14 lines · Vitaly Kuznetsov

With -cpu qemu64 we skip many good tests (next_rip, npt_*) and tsc_adjust is failing. VMX tests already use '-cpu host'.

---
 x86/unittests.cfg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
x86/unittests.cfg +0 -0
index 8156256146c3..e7aa1e9844f1 100644

x86/unittests.cfg arch = x86_64 · line 204

Quoted 8 lines
x86/unittests.cfg +1 -1
@@ -198,7 +198,7 @@ arch = x86_64
 [svm]
 file = svm.flat
 smp = 2
-extra_params = -cpu qemu64,+svm
+extra_params = -cpu host,+svm
 arch = x86_64
 
 [taskswitch]

Queued, thanks.

Paolo