VirtualBox

Changeset 20927 in vbox for trunk/src/VBox/VMM/PDMDevHlp.cpp


Ignore:
Timestamp:
Jun 25, 2009 11:41:35 AM (15 years ago)
Author:
vboxsync
Message:

pdmR3DevHlp_VMPowerOff: Set the VCPU state to stopped here as well to make sure no inconsistency with the EM state occurs.

File:
1 edited

Legend:

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

    r20881 r20927  
    23752375                          (PFNRT)VMR3PowerOff, 1, pVM);
    23762376        AssertRC(rc);
     2377        /* Set the VCPU state to stopped here as well to make sure no
     2378         * inconsistency with the EM state occurs.
     2379         */
     2380        VMCPU_SET_STATE(VMMGetCpu(pVM), VMCPUSTATE_STOPPED);
    23772381        rc = VINF_EM_OFF;
    23782382    }
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