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 <Sergiy_Kibrik@epam.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
This commit is contained in:
Sergiy Kibrik authored and Jan Beulich committed 2024-08-01 13:57:52 +02:00
1 parent 29fce29d89
commit 1c4fb9bb49
1 file changed
+1 -1
+1 -1
View 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
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.