]> xenbits.xensource.com Git - xen.git/commitdiff
x86/vmx: replace CONFIG_HVM with CONFIG_INTEL_VMX in vmx.h
authorSergiy Kibrik <Sergiy_Kibrik@epam.com>
Thu, 1 Aug 2024 11:57:52 +0000 (13:57 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 1 Aug 2024 11:57:52 +0000 (13:57 +0200)
As now we got a separate config option for VMX which itself depends on
CONFIG_HVM, we need to use it to provide vmx_pi_hooks_{assign,deassign}
stubs for case when VMX is disabled while HVM is enabled.

Signed-off-by: Sergiy Kibrik <Sergiy_Kibrik@epam.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/include/asm/hvm/vmx/vmx.h

index 1489dd05c2a113249cbfbb3b0579b2ec0e45be4a..f0ec459622dcef0cbb45f296af1eb7078c8bb1b3 100644 (file)
@@ -599,7 +599,7 @@ void vmx_pi_desc_fixup(unsigned int cpu);
 
 void vmx_sync_exit_bitmap(struct vcpu *v);
 
-#ifdef CONFIG_HVM
+#ifdef CONFIG_INTEL_VMX
 void vmx_pi_hooks_assign(struct domain *d);
 void vmx_pi_hooks_deassign(struct domain *d);
 #else