Changeset 45944 in vbox for trunk/src/VBox/VMM
- Timestamp:
- May 8, 2013 11:44:06 AM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 85590
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r45943 r45944 2752 2752 } 2753 2753 2754 /* If we have unrestricted guest execution, we never have to intercept CR3 reads. */ 2755 if (pVM->hm.s.vmx.fUnrestrictedGuest) 2756 pVCpu->hm.s.vmx.u32ProcCtls &= ~VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_CR3_LOAD_EXIT; 2757 2754 2758 rc = VMXWriteVmcs32(VMX_VMCS32_CTRL_PROC_EXEC_CONTROLS, pVCpu->hm.s.vmx.u32ProcCtls); 2755 2759 AssertRCReturn(rc, rc); … … 5116 5120 5117 5121 PVM pVM = pVCpu->CTX_SUFF(pVM); 5118 if ( pVM->hm.s.fNestedPaging 5119 && CPUMIsGuestPagingEnabledEx(pMixedCtx)) 5122 if ( pVM->hm.s.vmx.fUnrestrictedGuest 5123 || ( pVM->hm.s.fNestedPaging 5124 && CPUMIsGuestPagingEnabledEx(pMixedCtx))) 5120 5125 { 5121 5126 RTGCUINTREG uVal = 0;
Note:
See TracChangeset
for help on using the changeset viewer.