VirtualBox

Changeset 4295 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Aug 22, 2007 8:17:19 PM (17 years ago)
Author:
vboxsync
Message:

VMSTATE_GURU_MEDITATION when EMR3Execute returns with the EM state EMSTATE_GURU_MEDITATION.

Location:
trunk/src/VBox/VMM
Files:
2 edited

Legend:

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

    r4071 r4295  
    34403440                    {
    34413441                        VMMR3Unlock(pVM);
    3442                         /** @todo change the VM state! */
    34433442                        STAM_REL_PROFILE_ADV_STOP(&pVM->em.s.StatTotal, x);
    34443443                        return rc;
  • trunk/src/VBox/VMM/VMEmt.cpp

    r4071 r4295  
    139139            rc = EMR3ExecuteVM(pVM);
    140140            Log(("vmR3EmulationThread: EMR3ExecuteVM() -> rc=%Vrc, enmVMState=%d\n", rc, pVM->enmVMState));
     141            if (EMGetState(pVM) == EMSTATE_GURU_MEDITATION)
     142                vmR3SetState(pVM, VMSTATE_GURU_MEDITATION);
    141143        }
    142144
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