Changeset 46472 in vbox
- Timestamp:
- Jun 10, 2013 3:19:44 PM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 86315
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r46469 r46472 1840 1840 AssertPtr(pVCpu); 1841 1841 1842 /** @todo Shouldn't we able to avoid initializing with 0? */1843 1842 int rc = VERR_GENERAL_FAILURE; 1844 1843 1844 /* All fields are zero-initialized during allocation; but don't remove the commented block below. */ 1845 #if 0 1845 1846 /* All CR3 accesses cause VM-exits. Later we optimize CR3 accesses (see hmR0VmxLoadGuestControlRegs())*/ 1846 1847 rc = VMXWriteVmcs32(VMX_VMCS32_CTRL_CR3_TARGET_COUNT, 0); AssertRCReturn(rc, rc); … … 1864 1865 rc = VMXWriteVmcs32(VMX_VMCS32_CTRL_EXIT_MSR_STORE_COUNT, 0); AssertRCReturn(rc, rc); 1865 1866 rc = VMXWriteVmcs32(VMX_VMCS32_CTRL_EXIT_MSR_LOAD_COUNT, 0); AssertRCReturn(rc, rc); 1867 #endif 1866 1868 1867 1869 #ifdef VBOX_WITH_AUTO_MSR_LOAD_RESTORE … … 1884 1886 AssertRCReturn(rc, rc); 1885 1887 1888 /* All fields are zero-initialized during allocation; but don't remove the commented block below. */ 1889 #if 0 1886 1890 /* Setup debug controls */ 1887 1891 rc = VMXWriteVmcs64(VMX_VMCS64_GUEST_DEBUGCTL_FULL, 0); /** @todo We don't support IA32_DEBUGCTL MSR. Should we? */ … … 1889 1893 rc = VMXWriteVmcs32(VMX_VMCS_GUEST_PENDING_DEBUG_EXCEPTIONS, 0); 1890 1894 AssertRCReturn(rc, rc); 1895 #endif 1896 1891 1897 return rc; 1892 1898 }
Note:
See TracChangeset
for help on using the changeset viewer.