Message ID | 20190418201531.22181-1-cascardo@canonical.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [kvm-unit-tests] x86: svm: add tsc-adjust to guest CPU flags | expand |
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]
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@canonical.com> --- x86/unittests.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)