Changeset 56551 in vbox
- Timestamp:
- Jun 19, 2015 9:32:20 AM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 101175
- Location:
- trunk/src/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/ConsoleImpl.cpp
r56470 r56551 6247 6247 * to assert on us, hence check for the VM state here and bail if it's already in the 'running' state. 6248 6248 * See @bugref{3495}. 6249 * 6250 * Also, don't resume the VM unless it was paused previously due to a host-suspend operation. 6251 * See @bugref{7836}. 6249 6252 */ 6250 6253 enmReason = VMRESUMEREASON_HOST_RESUME; 6251 if (VMR3GetStateU(ptrVM.rawUVM()) == VMSTATE_RUNNING) 6254 VMSTATE enmVMState = VMR3GetStateU(ptrVM.rawUVM()); 6255 if ( enmVMState == VMSTATE_RUNNING 6256 || ( enmVMState == VMSTATE_SUSPENDED 6257 && VMR3GetSuspendReason(ptrVM.rawUVM()) != VMSUSPENDREASON_HOST_SUSPEND)) 6258 { 6252 6259 return S_OK; 6260 } 6253 6261 } 6254 6262 else if (aReason == Reason_Snapshot) -
trunk/src/VBox/VMM/VMMR3/VMMR3.def
r56335 r56551 343 343 VMR3GetStateName 344 344 VMR3GetStateU 345 VMR3GetSuspendReason 345 346 VMR3GetVM 346 347 VMR3HotPlugCpu
Note:
See TracChangeset
for help on using the changeset viewer.