| .. | .. |
|---|
| 29 | 29 | X86_HYPER_XEN_HVM, |
|---|
| 30 | 30 | X86_HYPER_KVM, |
|---|
| 31 | 31 | X86_HYPER_JAILHOUSE, |
|---|
| 32 | + X86_HYPER_ACRN, |
|---|
| 32 | 33 | }; |
|---|
| 33 | 34 | |
|---|
| 34 | 35 | #ifdef CONFIG_HYPERVISOR_GUEST |
|---|
| .. | .. |
|---|
| 52 | 53 | |
|---|
| 53 | 54 | /* runtime callbacks */ |
|---|
| 54 | 55 | struct x86_hyper_runtime runtime; |
|---|
| 56 | + |
|---|
| 57 | + /* ignore nopv parameter */ |
|---|
| 58 | + bool ignore_nopv; |
|---|
| 55 | 59 | }; |
|---|
| 56 | 60 | |
|---|
| 61 | +extern const struct hypervisor_x86 x86_hyper_vmware; |
|---|
| 62 | +extern const struct hypervisor_x86 x86_hyper_ms_hyperv; |
|---|
| 63 | +extern const struct hypervisor_x86 x86_hyper_xen_pv; |
|---|
| 64 | +extern const struct hypervisor_x86 x86_hyper_kvm; |
|---|
| 65 | +extern const struct hypervisor_x86 x86_hyper_jailhouse; |
|---|
| 66 | +extern const struct hypervisor_x86 x86_hyper_acrn; |
|---|
| 67 | +extern struct hypervisor_x86 x86_hyper_xen_hvm; |
|---|
| 68 | + |
|---|
| 69 | +extern bool nopv; |
|---|
| 57 | 70 | extern enum x86_hypervisor_type x86_hyper_type; |
|---|
| 58 | 71 | extern void init_hypervisor_platform(void); |
|---|
| 59 | 72 | static inline bool hypervisor_is_type(enum x86_hypervisor_type type) |
|---|