mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-05 07:35:31 +00:00
hv:Check if VMX capability is locked with incorrect value
Check if the VMX capability is locked with incorrect value, at the time when HV do the hardware capability detect. Tracked-On: #861 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> Reviewed-by: Junjie Mao <junjie.mao@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -448,6 +448,7 @@ int vmx_wrmsr_pat(struct vcpu *vcpu, uint64_t value);
|
||||
|
||||
void vmx_write_cr0(struct vcpu *vcpu, uint64_t cr0);
|
||||
void vmx_write_cr4(struct vcpu *vcpu, uint64_t cr4);
|
||||
bool is_vmx_disabled(void);
|
||||
|
||||
static inline enum vm_cpu_mode get_vcpu_mode(const struct vcpu *vcpu)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user