Message ID | 20231211185552.3856862-2-jmattson@google.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | nVMX: Simple posted interrupts test | expand |
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();
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@google.com> --- x86/vmx_tests.c | 1 + 1 file changed, 1 insertion(+)