mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-25 10:43:46 +00:00
VMX: bug fix on operating vmx
Switch all the referenced virtual address to physical address include ept mapping, vmcs field, vmxon, vmclear, and vmptrld. Signed-off-by: Zheng, Gen <gen.zheng@intel.com> Reviewed-by: Chen, Jason Cl <jason.cj.chen@intel.com> Reviewed-by: Yakui, Zhao <yakui.zhao@intel.com> Signed-off-by: Zheng, Gen <gen.zheng@intel.com>
This commit is contained in:
@@ -163,7 +163,7 @@ void init_msr_emulation(struct vcpu *vcpu)
|
||||
}
|
||||
|
||||
/* Set up MSR bitmap - pg 2904 24.6.9 */
|
||||
value64 = (int64_t) vcpu->vm->arch_vm.msr_bitmap;
|
||||
value64 = HVA2HPA(vcpu->vm->arch_vm.msr_bitmap);
|
||||
exec_vmwrite64(VMX_MSR_BITMAP_FULL, value64);
|
||||
pr_dbg("VMX_MSR_BITMAP: 0x%016llx ", value64);
|
||||
|
||||
|
Reference in New Issue
Block a user