VirtualBox

Changeset 23567 in vbox


Ignore:
Timestamp:
Oct 5, 2009 6:24:45 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
53218
Message:

Main: Enabled the live snapshot code (TakeSnapshot).

Location:
trunk/src/VBox/Main
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/ConsoleImpl.cpp

    r23420 r23567  
    24912491        pTask->lastMachineState = mMachineState;
    24922492        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 #endif
    25012493
    25022494        int vrc = RTThreadCreate(NULL,
  • trunk/src/VBox/Main/MachineImpl.cpp

    r23441 r23567  
    82918291    AutoMultiWriteLock2 alock(mParent, this);
    82928292
    8293 #ifdef VBOX_WITH_LIVE_MIGRATION
    82948293    AssertReturn(    !Global::IsOnlineOrTransient(mData->mMachineState)
    82958294                  || mData->mMachineState == MachineState_Running
    82968295                  || mData->mMachineState == MachineState_Paused, E_FAIL);
    8297 #else
    8298     AssertReturn(    !Global::IsOnlineOrTransient(mData->mMachineState)
    8299                   || mData->mMachineState == MachineState_Paused, E_FAIL);
    8300 #endif
    83018296    AssertReturn(mSnapshotData.mLastState == MachineState_Null, E_FAIL);
    83028297    AssertReturn(mSnapshotData.mSnapshot.isNull(), E_FAIL);
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r23560 r23567  
    64406440        <link to="#saveState"/>), Running or
    64416441        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.
    64436444
    64446445        The taken snapshot is always based on the
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette