aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/cpu/hypervisor.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/cpu/hypervisor.c')
-rw-r--r--arch/x86/kernel/cpu/hypervisor.c4
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;
31extern const struct hypervisor_x86 x86_hyper_xen_pv; 31extern const struct hypervisor_x86 x86_hyper_xen_pv;
32extern const struct hypervisor_x86 x86_hyper_xen_hvm; 32extern const struct hypervisor_x86 x86_hyper_xen_hvm;
33extern const struct hypervisor_x86 x86_hyper_kvm; 33extern const struct hypervisor_x86 x86_hyper_kvm;
34extern const struct hypervisor_x86 x86_hyper_jailhouse;
34 35
35static const __initconst struct hypervisor_x86 * const hypervisors[] = 36static 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
50enum x86_hypervisor_type x86_hyper_type; 54enum x86_hypervisor_type x86_hyper_type;