VirtualBox

Changeset 103515 in vbox


Ignore:
Timestamp:
Feb 22, 2024 3:51:37 AM (9 months ago)
Author:
vboxsync
Message:

VMM/DBGF: Stop all VCpus on DBGFEVENT_DEV_STOP events.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/DBGF.cpp

    r100144 r103515  
    718718    if (RT_FAILURE(rc))
    719719        return rc;
     720
     721    /*
     722     * Stop other CPUs for some messages so we can inspect the state accross
     723     * all CPUs as best as possible.
     724     */
     725    /** @todo This isn't entirely sane as we'd need a wait to back out of this
     726     *        if the debugger goes fishing and such. */
     727    switch (enmEvent)
     728    {
     729        default:
     730            break;
     731        case DBGFEVENT_DEV_STOP:
     732            rc = dbgfR3EventHaltAllVCpus(pVM, pVCpu);
     733            if (RT_SUCCESS(rc))
     734                break;
     735            return rc;
     736    }
    720737
    721738    /*
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