Changeset 24207 in vbox for trunk/src/VBox/VMM/VMMR0
- Timestamp:
- Oct 30, 2009 4:21:35 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 54154
- Location:
- trunk/src/VBox/VMM/VMMR0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HWSVMR0.cpp
r24027 r24207 942 942 #endif 943 943 944 /* Check if we need to intercept invlpg; we catch all page table updates, so there's no need unless there are dirty (unmonitored) pages. */ 945 if (PGMHasDirtyPages(pVM)) 946 pVMCB->ctrl.u32InterceptCtrl1 |= SVM_CTRL1_INTERCEPT_INVLPG; 947 else 948 pVMCB->ctrl.u32InterceptCtrl1 &= ~SVM_CTRL1_INTERCEPT_INVLPG; 949 944 950 /* Done. */ 945 951 pVCpu->hwaccm.s.fContextUseFlags &= ~HWACCM_CHANGED_ALL_GUEST; -
trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp
r24029 r24207 1863 1863 1864 1864 vmxR0UpdateExceptionBitmap(pVM, pVCpu, pCtx); 1865 1866 /* Check if we need to intercept invlpg; we catch all page table updates, so there's no need unless there are dirty (unmonitored) pages. */ 1867 val = pVCpu->hwaccm.s.vmx.proc_ctls; 1868 if (PGMHasDirtyPages(pVM)) 1869 pVCpu->hwaccm.s.vmx.proc_ctls |= VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_INVLPG_EXIT; 1870 else 1871 pVCpu->hwaccm.s.vmx.proc_ctls &= ~VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_INVLPG_EXIT; 1872 1873 if (val != pVCpu->hwaccm.s.vmx.proc_ctls) 1874 { 1875 rc = VMXWriteVMCS(VMX_VMCS_CTRL_PROC_EXEC_CONTROLS, pVCpu->hwaccm.s.vmx.proc_ctls); 1876 AssertRC(rc); 1877 } 1865 1878 1866 1879 #ifdef VBOX_WITH_AUTO_MSR_LOAD_RESTORE
Note:
See TracChangeset
for help on using the changeset viewer.