Message ID | 20190919125211.18152-4-liran.alon@oracle.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | : x86: vmx: Test INIT processing in various CPU VMX states | expand |
diff --git a/x86/vmx.c b/x86/vmx.c index a8d485c3bd09..10b0a423dd23 100644 --- a/x86/vmx.c +++ b/x86/vmx.c @@ -1268,7 +1268,7 @@ static void init_vmx_caps(void) ept_vpid.val = 0; } -static void init_vmx(u64 *vmxon_region) +void init_vmx(u64 *vmxon_region) { ulong fix_cr0_set, fix_cr0_clr; ulong fix_cr4_set, fix_cr4_clr; diff --git a/x86/vmx.h b/x86/vmx.h index 75abf9a489dd..6127db3cfdd5 100644 --- a/x86/vmx.h +++ b/x86/vmx.h @@ -785,6 +785,8 @@ static inline bool invvpid(unsigned long type, u64 vpid, u64 gla) return ret; } +void init_vmx(u64 *vmxon_region); + const char *exit_reason_description(u64 reason); void print_vmexit_info(void); void print_vmentry_failure_info(struct vmentry_failure *failure);