Changeset 49896 in vbox for trunk/src/VBox
- Timestamp:
- Dec 13, 2013 3:38:40 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp
r49890 r49896 751 751 pVmcb->guest.u64GPAT = UINT64_C(0x0006060606060606); 752 752 753 /* Setup Nested Paging. This doesn't change throughout the execution time of the VM. */ 754 pVmcb->ctrl.NestedPaging.n.u1NestedPaging = pVM->hm.s.fNestedPaging; 755 753 756 /* Without Nested Paging, we need additionally intercepts. */ 754 757 if (!pVM->hm.s.fNestedPaging) … … 2865 2868 hmR0SvmEvaluatePendingEvent(pVCpu, pCtx); 2866 2869 2867 /*2868 * Re-enable nested paging (automatically disabled on every VM-exit). See AMD spec. 15.25.3 "Enabling Nested Paging".2869 * We avoid changing the corresponding VMCB Clean bit as we're not changing it to a different value since the previous run.2870 */2871 /** @todo The above assumption could be wrong. It's not documented what2872 * should be done wrt to the VMCB Clean bit, but we'll find out the2873 * hard way. */2874 PSVMVMCB pVmcb = (PSVMVMCB)pVCpu->hm.s.svm.pvVmcb;2875 pVmcb->ctrl.NestedPaging.n.u1NestedPaging = pVM->hm.s.fNestedPaging;2876 2877 2870 #ifdef HMSVM_SYNC_FULL_GUEST_STATE 2878 2871 HMCPU_CF_SET(pVCpu, HM_CHANGED_ALL_GUEST); … … 2893 2886 pSvmTransient->u8GuestTpr = pCtx->msrLSTAR; 2894 2887 else 2888 { 2889 PSVMVMCB pVmcb = (PSVMVMCB)pVCpu->hm.s.svm.pvVmcb; 2895 2890 pSvmTransient->u8GuestTpr = pVmcb->ctrl.IntCtrl.n.u8VTPR; 2891 } 2896 2892 } 2897 2893
Note:
See TracChangeset
for help on using the changeset viewer.