From: Sergiy Kibrik Date: Thu, 1 Aug 2024 11:57:52 +0000 (+0200) Subject: x86/vmx: replace CONFIG_HVM with CONFIG_INTEL_VMX in vmx.h X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=1c4fb9bb49b7babbcaa0b62384841ba4acb49356;p=people%2Froyger%2Fxen.git x86/vmx: replace CONFIG_HVM with CONFIG_INTEL_VMX in vmx.h 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 Acked-by: Jan Beulich --- diff --git a/xen/arch/x86/include/asm/hvm/vmx/vmx.h b/xen/arch/x86/include/asm/hvm/vmx/vmx.h index 1489dd05c2..f0ec459622 100644 --- a/xen/arch/x86/include/asm/hvm/vmx/vmx.h +++ b/xen/arch/x86/include/asm/hvm/vmx/vmx.h @@ -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