Changeset 73770 in vbox for trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
- Timestamp:
- Aug 20, 2018 6:44:55 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r73754 r73770 2774 2774 *(uint32_t *)pVCpu->hm.s.vmx.pvVmcs = RT_BF_GET(pVM->hm.s.vmx.Msrs.u64Basic, VMX_BF_BASIC_VMCS_ID); 2775 2775 2776 /* Set the VMCS launch state to "clear", see Intel spec. 31.6 "Preparation and launch a virtual machine". */ 2777 rc = VMXClearVmcs(pVCpu->hm.s.vmx.HCPhysVmcs); 2778 AssertLogRelMsgRCReturnStmt(rc, ("VMXR0SetupVM: VMXClearVmcs failed! rc=%Rrc\n", rc), 2779 hmR0VmxUpdateErrorRecord(pVCpu, rc), rc); 2780 2776 2781 /* Load this VMCS as the current VMCS. */ 2777 2782 rc = VMXActivateVmcs(pVCpu->hm.s.vmx.HCPhysVmcs); … … 2801 2806 #endif 2802 2807 2803 /* Sync the CPU's internal data into our VMCS memory region & set the launch state to "clear". */2808 /* Sync any CPU internal VMCS data back into our VMCS in memory. */ 2804 2809 rc = VMXClearVmcs(pVCpu->hm.s.vmx.HCPhysVmcs); 2805 2810 AssertLogRelMsgRCReturnStmt(rc, ("VMXR0SetupVM: VMXClearVmcs(2) failed! rc=%Rrc\n", rc),
Note:
See TracChangeset
for help on using the changeset viewer.