Changeset 67956 in vbox
- Timestamp:
- Jul 13, 2017 9:31:26 PM (8 years ago)
- Location:
- trunk/src/VBox/VMM/VMMR0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/GVMMR0.cpp
r67955 r67956 1183 1183 VERR_WRONG_ORDER); 1184 1184 1185 uint32_t hGVM = pGVM->hSelf;1185 uint32_t hGVM = pGVM->hSelf; 1186 1186 AssertReturn(hGVM != NIL_GVM_HANDLE, VERR_INVALID_HANDLE); 1187 1187 AssertReturn(hGVM < RT_ELEMENTS(pGVMM->aHandles), VERR_INVALID_HANDLE); 1188 1188 1189 PGVMHANDLE pHandle = &pGVMM->aHandles[hGVM];1189 PGVMHANDLE pHandle = &pGVMM->aHandles[hGVM]; 1190 1190 AssertReturn(pHandle->pVM == pVM, VERR_NOT_OWNER); 1191 1191 1192 RTPROCESS ProcId = RTProcSelf();1193 RTNATIVETHREAD hSelf = RTThreadNativeSelf();1192 RTPROCESS ProcId = RTProcSelf(); 1193 RTNATIVETHREAD hSelf = RTThreadNativeSelf(); 1194 1194 AssertReturn( ( pHandle->hEMT0 == hSelf 1195 1195 && pHandle->ProcId == ProcId) … … 1203 1203 int rc = gvmmR0CreateDestroyLock(pGVMM); 1204 1204 AssertRC(rc); 1205 1206 /** @todo Check that all other EMTs have said bye-bye. */ 1207 1205 1208 1206 1209 /* Be careful here because we might theoretically be racing someone else cleaning up. */ -
trunk/src/VBox/VMM/VMMR0/VMMR0.cpp
r67955 r67956 2010 2010 * 2011 2011 * @returns VBox status code. 2012 * @param pGVM The global (ring-0) VM structure. 2012 2013 * @param pVM The cross context VM structure. 2013 2014 * @param idCpu Virtual CPU ID argument. Must be NIL_VMCPUID if pVM
Note:
See TracChangeset
for help on using the changeset viewer.