Changeset 20881 in vbox
- Timestamp:
- Jun 24, 2009 8:11:34 AM (15 years ago)
- File:
-
- 1 edited
-
trunk/src/VBox/VMM/PDMDevHlp.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PDMDevHlp.cpp
r20880 r20881 2334 2334 static DECLCALLBACK(int) pdmR3DevHlp_VMSuspend(PPDMDEVINS pDevIns) 2335 2335 { 2336 int rc; 2336 2337 PDMDEV_ASSERT_DEVINS(pDevIns); 2337 2338 PVM pVM = pDevIns->Internal.s.pVMR3; … … 2344 2345 /* We own the IOM lock here and could cause a deadlock by waiting for a VCPU that is blocking on the IOM lock. */ 2345 2346 PVMREQ pReq; 2346 intrc = VMR3ReqCallU(pVM->pUVM, VMCPUID_ANY_QUEUE, &pReq, 0, VMREQFLAGS_NO_WAIT,2347 (PFNRT)VMR3Suspend, 1, pVM);2347 rc = VMR3ReqCallU(pVM->pUVM, VMCPUID_ANY_QUEUE, &pReq, 0, VMREQFLAGS_NO_WAIT, 2348 (PFNRT)VMR3Suspend, 1, pVM); 2348 2349 AssertRC(rc); 2349 2350 rc = VINF_EM_SUSPEND; … … 2360 2361 static DECLCALLBACK(int) pdmR3DevHlp_VMPowerOff(PPDMDEVINS pDevIns) 2361 2362 { 2363 int rc; 2362 2364 PDMDEV_ASSERT_DEVINS(pDevIns); 2363 2365 PVM pVM = pDevIns->Internal.s.pVMR3; … … 2370 2372 /* We own the IOM lock here and could cause a deadlock by waiting for a VCPU that is blocking on the IOM lock. */ 2371 2373 PVMREQ pReq; 2372 intrc = VMR3ReqCallU(pVM->pUVM, VMCPUID_ANY_QUEUE, &pReq, 0, VMREQFLAGS_NO_WAIT,2373 (PFNRT)VMR3PowerOff, 1, pVM);2374 rc = VMR3ReqCallU(pVM->pUVM, VMCPUID_ANY_QUEUE, &pReq, 0, VMREQFLAGS_NO_WAIT, 2375 (PFNRT)VMR3PowerOff, 1, pVM); 2374 2376 AssertRC(rc); 2375 2377 rc = VINF_EM_OFF;
Note:
See TracChangeset
for help on using the changeset viewer.

