VirtualBox

Changeset 45330 in vbox


Ignore:
Timestamp:
Apr 4, 2013 9:27:18 AM (12 years ago)
Author:
vboxsync
Message:

VMM/VMMRZ: Avoid infinite recursions due to failing assertions in the ring3 callback.

File:
1 edited

Legend:

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

    r45105 r45330  
    8686    pVM->vmm.s.pfnRCToHost(VINF_VMM_CALL_HOST);
    8787#else
    88     if (pVCpu->vmm.s.pfnCallRing3CallbackR0)
     88    if (   pVCpu->vmm.s.pfnCallRing3CallbackR0
     89        && enmOperation != VMMCALLRING3_VM_R0_ASSERTION)
     90    {
    8991        pVCpu->vmm.s.pfnCallRing3CallbackR0(pVCpu, enmOperation, pVCpu->vmm.s.pvCallRing3CallbackUserR0);
     92    }
    9093    int rc = vmmR0CallRing3LongJmp(&pVCpu->vmm.s.CallRing3JmpBufR0, VINF_VMM_CALL_HOST);
    9194    if (RT_FAILURE(rc))
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