Changeset 10609 in vbox
- Timestamp:
- Jul 14, 2008 4:28:23 PM (17 years ago)
- Location:
- trunk/src/VBox/VMM/VMMR0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HWSVMR0.cpp
r10607 r10609 781 781 uint8_t u8LastVTPR; 782 782 PHWACCM_CPUINFO pCpu = 0; 783 #ifdef VBOX_STRICT 784 RTCPUID idCpuCheck; 785 #endif 783 786 784 787 STAM_PROFILE_ADV_START(&pVM->hwaccm.s.StatEntry, x); … … 888 891 * (until the actual world switch) 889 892 */ 893 894 #ifdef VBOX_STRICT 895 idCpuCheck = RTMpCpuId(); 896 #endif 890 897 891 898 /* Load the guest state; *must* be here as it sets up the shadow cr0 for lazy fpu syncing! */ … … 972 979 Assert(pVMCB->ctrl.u64LBRVirt == 0); 973 980 981 #ifdef VBOX_STRICT 982 Assert(idCpuCheck == RTMpCpuId()); 983 #endif 974 984 pVM->hwaccm.s.svm.pfnVMRun(pVM->hwaccm.s.svm.pVMCBHostPhys, pVM->hwaccm.s.svm.pVMCBPhys, pCtx); 975 985 STAM_PROFILE_ADV_STOP(&pVM->hwaccm.s.StatInGC, x); -
trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp
r10607 r10609 1037 1037 bool fGuestStateSynced = false; 1038 1038 unsigned cResume = 0; 1039 #ifdef VBOX_STRICT 1040 RTCPUID idCpuCheck; 1041 #endif 1039 1042 1040 1043 Log2(("\nE")); … … 1193 1196 * (until the actual world switch) 1194 1197 */ 1198 #ifdef VBOX_STRICT 1199 idCpuCheck = RTMpCpuId(); 1200 #endif 1195 1201 /* Save the host state first. */ 1196 1202 rc = VMXR0SaveHostState(pVM); … … 1230 1236 /* All done! Let's start VM execution. */ 1231 1237 STAM_PROFILE_ADV_START(&pVM->hwaccm.s.StatInGC, x); 1238 #ifdef VBOX_STRICT 1239 Assert(idCpuCheck == RTMpCpuId()); 1240 #endif 1232 1241 rc = pVM->hwaccm.s.vmx.pfnStartVM(pVM->hwaccm.s.vmx.fResumeVM, pCtx); 1233 1242
Note:
See TracChangeset
for help on using the changeset viewer.