Changeset 67988 in vbox
- Timestamp:
- Jul 17, 2017 11:30:28 AM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 116997
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/GVMMR0.cpp
r67987 r67988 1226 1226 gvmmR0CreateDestroyUnlock(pGVMM); 1227 1227 1228 /** @todo this _must_ be the wrong place. */1229 for (VMCPUID idCpu = 0; idCpu < pVM->cCpus; idCpu++)1230 {1231 /** @todo Can we busy wait here for all thread-context hooks to be1232 * deregistered before releasing (destroying) it? Only until we find a1233 * solution for not deregistering hooks everytime we're leaving HMR01234 * context. */1235 VMMR0ThreadCtxHookDestroyForEmt(&pVM->aCpus[idCpu]);1236 }1237 1238 1228 SUPR0ObjRelease(pvObj, pHandle->pSession); 1239 1229 } … … 1277 1267 1278 1268 GMMR0CleanupVM(pGVM); 1269 1270 AssertCompile((uintptr_t)NIL_RTTHREADCTXHOOK == 0); /* Depends on zero initialized memory working for NIL at the moment. */ 1271 for (VMCPUID idCpu = 0; idCpu < pGVM->cCpus; idCpu++) 1272 { 1273 /** @todo Can we busy wait here for all thread-context hooks to be 1274 * deregistered before releasing (destroying) it? Only until we find a 1275 * solution for not deregistering hooks everytime we're leaving HMR0 1276 * context. */ 1277 VMMR0ThreadCtxHookDestroyForEmt(&pGVM->pVM->aCpus[idCpu]); 1278 } 1279 1279 } 1280 1280
Note:
See TracChangeset
for help on using the changeset viewer.