Commit d63d3e6217c49b81d74141b7920bbe5950532432

Authored by Avi Kivity
Committed by Marcelo Tosatti
1 parent ebf7d2e993

x86, hyper: fix build with !CONFIG_KVM_GUEST

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>

Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff

arch/x86/kernel/cpu/hypervisor.c
... ... @@ -37,7 +37,9 @@
37 37 #endif
38 38 &x86_hyper_vmware,
39 39 &x86_hyper_ms_hyperv,
  40 +#ifdef CONFIG_KVM_GUEST
40 41 &x86_hyper_kvm,
  42 +#endif
41 43 };
42 44  
43 45 const struct hypervisor_x86 *x86_hyper;