Changeset 23567 in vbox
- Timestamp:
- Oct 5, 2009 6:24:45 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 53218
- Location:
- trunk/src/VBox/Main
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleImpl.cpp
r23420 r23567 2491 2491 pTask->lastMachineState = mMachineState; 2492 2492 pTask->fTakingSnapshotOnline = fTakingSnapshotOnline; 2493 2494 #ifndef VBOX_WITH_LIVE_MIGRATION /** @todo update the API docs. */2495 if (mMachineState == MachineState_Running)2496 {2497 rc = Pause();2498 if (FAILED(rc)) throw rc;2499 }2500 #endif2501 2493 2502 2494 int vrc = RTThreadCreate(NULL, -
trunk/src/VBox/Main/MachineImpl.cpp
r23441 r23567 8291 8291 AutoMultiWriteLock2 alock(mParent, this); 8292 8292 8293 #ifdef VBOX_WITH_LIVE_MIGRATION8294 8293 AssertReturn( !Global::IsOnlineOrTransient(mData->mMachineState) 8295 8294 || mData->mMachineState == MachineState_Running 8296 8295 || mData->mMachineState == MachineState_Paused, E_FAIL); 8297 #else8298 AssertReturn( !Global::IsOnlineOrTransient(mData->mMachineState)8299 || mData->mMachineState == MachineState_Paused, E_FAIL);8300 #endif8301 8296 AssertReturn(mSnapshotData.mLastState == MachineState_Null, E_FAIL); 8302 8297 AssertReturn(mSnapshotData.mSnapshot.isNull(), E_FAIL); -
trunk/src/VBox/Main/idl/VirtualBox.xidl
r23560 r23567 6440 6440 <link to="#saveState"/>), Running or 6441 6441 Paused virtual machine. When the machine is PoweredOff, an 6442 offline snapshot is created, an online snapshot otherwise. 6442 offline snapshot is created. When the machine is Running a live 6443 snapshot is created, and an online snapshot is is created when Paused. 6443 6444 6444 6445 The taken snapshot is always based on the
Note:
See TracChangeset
for help on using the changeset viewer.