Changeset 24362 in vbox for trunk/src/VBox
- Timestamp:
- Nov 5, 2009 1:36:14 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleImpl.cpp
r24353 r24362 2571 2571 { 2572 2572 delete pTask; 2573 } 2574 2575 LogFlowThisFunc(("rc=%08X\n", rc)); 2573 NOREF(rc); 2574 } 2575 2576 LogFlowThisFunc(("rc=%Rhrc\n", rc)); 2576 2577 LogFlowThisFuncLeave(); 2577 2578 return rc; … … 5670 5671 case VMSTATE_SUSPENDED: 5671 5672 { 5672 /** @todo Live Migration: state/live VMSTATE_SUSPENDING_LS. */5673 5673 if (aOldState == VMSTATE_SUSPENDING) 5674 5674 { … … 5682 5682 that->setMachineState(MachineState_Paused); 5683 5683 } 5684 break; 5685 } 5686 5687 case VMSTATE_SUSPENDED_LS: 5688 case VMSTATE_SUSPENDED_EXT_LS: 5689 { 5690 AutoWriteLock alock(that); 5691 if (that->mVMStateChangeCallbackDisabled) 5692 break; 5693 if (that->mMachineState == MachineState_Teleporting) 5694 that->setMachineState(MachineState_TeleportingPausedVM); 5695 else if (that->mMachineState == MachineState_LiveSnapshotting) 5696 that->setMachineState(MachineState_Saving); 5697 else 5698 AssertMsgFailed(("%s/%s -> %s\n", Global::stringifyMachineState(that->mMachineState), VMR3GetStateName(aOldState), VMR3GetStateName(aState) )); 5684 5699 break; 5685 5700 } … … 5710 5725 break; 5711 5726 } 5727 5728 case VMSTATE_RUNNING_LS: 5729 AssertMsg( that->mMachineState == MachineState_LiveSnapshotting 5730 || that->mMachineState == MachineState_Teleporting, 5731 ("%s/%s -> %s\n", Global::stringifyMachineState(that->mMachineState), VMR3GetStateName(aOldState), VMR3GetStateName(aState) )); 5732 break; 5712 5733 5713 5734 case VMSTATE_FATAL_ERROR:
Note:
See TracChangeset
for help on using the changeset viewer.