Changeset 55754 in vbox
- Timestamp:
- May 8, 2015 2:09:00 PM (9 years ago)
- File:
-
- 1 edited
-
trunk/src/VBox/VMM/VMMR0/HMR0.cpp (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMR0.cpp
r55436 r55754 752 752 Assert(RT_SUCCESS(rc) || rc == VERR_NOT_SUPPORTED); 753 753 if (RT_SUCCESS(rc)) 754 {755 754 rc = hmR0FirstRcGetStatus(&FirstRc); 756 AssertMsgRC(rc, ("%u: %Rrc\n", hmR0FirstRcGetCpuId(&FirstRc), rc));757 }758 755 } 759 756 … … 860 857 rc = g_HvmR0.pfnEnableCpu(pCpu, pVM, pvCpuPage, HCPhysCpuPage, false, NULL /* pvArg */); 861 858 } 862 AssertRC(rc);863 859 if (RT_SUCCESS(rc)) 864 860 pCpu->fConfigured = true; … … 968 964 if (RT_SUCCESS(rc)) 969 965 rc = hmR0FirstRcGetStatus(&FirstRc); 970 AssertMsgRC(rc, ("hmR0EnableAllCpuOnce failed for cpu %d with rc=%d\n", hmR0FirstRcGetCpuId(&FirstRc), rc));971 966 } 972 967 … … 1222 1217 1223 1218 /* 1224 * Initialize some per CPU fields.1219 * Initialize some per-VCPU fields. 1225 1220 */ 1226 1221 for (VMCPUID i = 0; i < pVM->cCpus; i++) … … 1298 1293 { 1299 1294 rc = hmR0EnableCpu(pVM, idCpu); 1300 AssertRCReturnStmt(rc, RTThreadPreemptRestore(&PreemptState), rc); 1295 if (RT_FAILURE(rc)) 1296 { 1297 RTThreadPreemptRestore(&PreemptState) 1298 return rc; 1299 } 1301 1300 } 1302 1301
Note:
See TracChangeset
for help on using the changeset viewer.

