Re: KVM selftests are failing

From: Ahmed Soliman
Date: Fri Nov 16 2018 - 07:00:35 EST


Hello once again,

I noticed that there is still more problems with kvmself test (at
least on my machine)

Any test that would successfully reach the guest's code immediately
VMexit by a shutdown.

$ ./vmx_tsc_adjust_test
==== Test Assertion Failure ====
x86_64/vmx_tsc_adjust_test.c:156: run->exit_reason == KVM_EXIT_IO
pid=8499 tid=8499 - Success
1 0x00005604f07bd36c: ?? ??:0
2 0x00007f5c0dc53ae6: ?? ??:0
3 0x00005604f07bd4b9: ?? ??:0
Got exit_reason other than KVM_EXIT_IO: 8 (SHUTDOWN)

Also I have got a question I noticed 2 kvm test suites, kvm selftests
in tools/testing/selftests/kvm/
and this kvm unit test at [1] I am curious if I should put my tests in
the kvm unit test intead of kvm selftest


-- links --
[1] https://git.kernel.org/pub/scm/virt/kvm/kvm-unit-tests.git

Thanks
Ahmed,