Since "virtualize x2APIC mode" is enabled for these tests, call enable_x2apic() so that the x2apic_ops function table will be installed. Signed-off-by: Jim Mattson <jmattson@xxxxxxxxxx> --- x86/vmx_tests.c | 1 + 1 file changed, 1 insertion(+) diff --git a/x86/vmx_tests.c b/x86/vmx_tests.c index c1540d396da8..e5ed79b7da4a 100644 --- a/x86/vmx_tests.c +++ b/x86/vmx_tests.c @@ -9305,6 +9305,7 @@ static void enable_vid(void) assert(cpu_has_apicv()); + enable_x2apic(); disable_intercept_for_x2apic_msrs(); virtual_apic_page = alloc_page(); -- 2.43.0.472.g3155946c3a-goog