Skip to contentSkip to conversation

x86, hyper: fix build with !CONFIG_KVM_GUEST

PATCH Applied Avi Kivity 2 participants 2 messages Jul 18, 2012

Subsystems (2)
lore
Share & tools
lore

Avi Kivity

author
#0 lore raw

PATCH 1/1 x86, hyper: fix build with !CONFIG_KVM_GUEST

---
 arch/x86/kernel/cpu/hypervisor.c | 2 ++
 1 file changed, 2 insertions(+)
arch/x86/kernel/cpu/hypervisor.c +2 -0
index 6d6dd7a..a8f8fa9 100644
@@ -37,7 +37,9 @@
 #endif
 	&x86_hyper_vmware,
 	&x86_hyper_ms_hyperv,
+#ifdef CONFIG_KVM_GUEST
 	&x86_hyper_kvm,
+#endif
 };
 
 const struct hypervisor_x86 *x86_hyper;
Signature · 1 line
1.7.11.2