Be tidy and avoid interactions between tests. Signed-off-by: Paolo Bonzini <pbonzini@xxxxxxxxxx> --- x86/vmx_tests.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/x86/vmx_tests.c b/x86/vmx_tests.c index 38f10f4..54b7034 100644 --- a/x86/vmx_tests.c +++ b/x86/vmx_tests.c @@ -1974,6 +1974,8 @@ static void disable_rdtscp_main(void) asm volatile("rdtscp" : : : "eax", "ecx", "edx"); vmcall(); asm volatile(".byte 0xf3, 0x0f, 0xc7, 0xf8" : : : "eax"); + + handle_exception(UD_VECTOR, 0); vmcall(); } -- 1.8.3.1