- Timestamp:
- Oct 9, 2008 11:14:16 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp
r13119 r13120 1431 1431 CPUMSetGuestCR4(pVM, val); 1432 1432 1433 /* Can be updated behind our back in the nested paging case. */1434 CPUMSetGuestCR2(pVM, ASMGetCR2());1435 1436 1433 /* Note: no reason to sync back the CRx registers. They can't be changed by the guest. */ 1437 1434 /* Note: only in the nested paging case can CR3 & CR4 be changed by the guest. */ 1438 if (pVM->hwaccm.s.fNestedPaging) 1439 { 1435 if ( pVM->hwaccm.s.fNestedPaging 1436 && !CPUMIsGuestInRealModeEx(pCtx)) 1437 { 1438 /* Can be updated behind our back in the nested paging case. */ 1439 CPUMSetGuestCR2(pVM, ASMGetCR2()); 1440 1440 1441 VMXReadVMCS(VMX_VMCS_GUEST_CR3, &val); 1441 1442
Note:
See TracChangeset
for help on using the changeset viewer.