Ahmed Soliman ahmedsoliman@mena.vt.edu writes:
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)
Hm, this is weird. Do other KVM users, e.g. qemu work on this host? Are you sure this happens on the first VCPU_RUN invocation?
Could you try doing
trace-cmd record -e kvm ./x86_64/vmx_tsc_adjust_test && trace-cmd report
to see if there's anything suspicious?