VirtualBox

Changeset 20881 in vbox


Ignore:
Timestamp:
Jun 24, 2009 8:11:34 AM (15 years ago)
Author:
vboxsync
Message:

Compile fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PDMDevHlp.cpp

    r20880 r20881  
    23342334static DECLCALLBACK(int) pdmR3DevHlp_VMSuspend(PPDMDEVINS pDevIns)
    23352335{
     2336    int rc;
    23362337    PDMDEV_ASSERT_DEVINS(pDevIns);
    23372338    PVM pVM = pDevIns->Internal.s.pVMR3;
     
    23442345        /* We own the IOM lock here and could cause a deadlock by waiting for a VCPU that is blocking on the IOM lock. */
    23452346        PVMREQ pReq;
    2346         int rc = 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);
    23482349        AssertRC(rc);
    23492350        rc = VINF_EM_SUSPEND;
     
    23602361static DECLCALLBACK(int) pdmR3DevHlp_VMPowerOff(PPDMDEVINS pDevIns)
    23612362{
     2363    int rc;
    23622364    PDMDEV_ASSERT_DEVINS(pDevIns);
    23632365    PVM pVM = pDevIns->Internal.s.pVMR3;
     
    23702372        /* We own the IOM lock here and could cause a deadlock by waiting for a VCPU that is blocking on the IOM lock. */
    23712373        PVMREQ pReq;
    2372         int rc = 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);
    23742376        AssertRC(rc);
    23752377        rc = VINF_EM_OFF;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette