diff options
Diffstat (limited to 'arch/x86/kernel/cpu/hypervisor.c')
-rw-r--r-- | arch/x86/kernel/cpu/hypervisor.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/kernel/cpu/hypervisor.c b/arch/x86/kernel/cpu/hypervisor.c index bea8d3e24f50..479ca4728de0 100644 --- a/arch/x86/kernel/cpu/hypervisor.c +++ b/arch/x86/kernel/cpu/hypervisor.c | |||
@@ -31,6 +31,7 @@ extern const struct hypervisor_x86 x86_hyper_ms_hyperv; | |||
31 | extern const struct hypervisor_x86 x86_hyper_xen_pv; | 31 | extern const struct hypervisor_x86 x86_hyper_xen_pv; |
32 | extern const struct hypervisor_x86 x86_hyper_xen_hvm; | 32 | extern const struct hypervisor_x86 x86_hyper_xen_hvm; |
33 | extern const struct hypervisor_x86 x86_hyper_kvm; | 33 | extern const struct hypervisor_x86 x86_hyper_kvm; |
34 | extern const struct hypervisor_x86 x86_hyper_jailhouse; | ||
34 | 35 | ||
35 | static const __initconst struct hypervisor_x86 * const hypervisors[] = | 36 | static const __initconst struct hypervisor_x86 * const hypervisors[] = |
36 | { | 37 | { |
@@ -45,6 +46,9 @@ static const __initconst struct hypervisor_x86 * const hypervisors[] = | |||
45 | #ifdef CONFIG_KVM_GUEST | 46 | #ifdef CONFIG_KVM_GUEST |
46 | &x86_hyper_kvm, | 47 | &x86_hyper_kvm, |
47 | #endif | 48 | #endif |
49 | #ifdef CONFIG_JAILHOUSE_GUEST | ||
50 | &x86_hyper_jailhouse, | ||
51 | #endif | ||
48 | }; | 52 | }; |
49 | 53 | ||
50 | enum x86_hypervisor_type x86_hyper_type; | 54 | enum x86_hypervisor_type x86_hyper_type; |