VirtualBox

Changeset 48230 in vbox for trunk/src/VBox/VMM/VMMRZ


Ignore:
Timestamp:
Sep 2, 2013 2:52:50 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
88625
Message:

VMM: Propagate errors properly while leaving HM context.

File:
1 edited

Legend:

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

    r48228 r48230  
    8686    pVM->vmm.s.pfnRCToHost(VINF_VMM_CALL_HOST);
    8787#else
     88    int rc;
    8889    if (   pVCpu->vmm.s.pfnCallRing3CallbackR0
    8990        && enmOperation != VMMCALLRING3_VM_R0_ASSERTION)
    9091    {
    91         pVCpu->vmm.s.pfnCallRing3CallbackR0(pVCpu, enmOperation, pVCpu->vmm.s.pvCallRing3CallbackUserR0);
    92     }
    93     int rc = vmmR0CallRing3LongJmp(&pVCpu->vmm.s.CallRing3JmpBufR0, VINF_VMM_CALL_HOST);
     92        rc = pVCpu->vmm.s.pfnCallRing3CallbackR0(pVCpu, enmOperation, pVCpu->vmm.s.pvCallRing3CallbackUserR0);
     93        if (RT_FAILURE(rc))
     94            return rc;
     95    }
     96    rc = vmmR0CallRing3LongJmp(&pVCpu->vmm.s.CallRing3JmpBufR0, VINF_VMM_CALL_HOST);
    9497    if (RT_FAILURE(rc))
    9598        return rc;
Note: See TracChangeset for help on using the changeset viewer.

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