VirtualBox

Changeset 23187 in vbox for trunk


Ignore:
Timestamp:
Sep 21, 2009 12:51:05 PM (15 years ago)
Author:
vboxsync
Message:

SessionMachine::EndTakingSnapshot: Don't restore the state to Running. This is a new situation for live save and will be documented / cleaned up later to avoid causing unnecessary conflicts.

File:
1 edited

Legend:

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

    r23180 r23187  
    196196    mClipboardMode = ClipboardMode_Bidirectional;
    197197    mGuestPropertyNotificationPatterns = "";
    198    
     198
    199199    mFirmwareType = FirmwareType_Bios;
    200200}
     
    56555655        mData->m_pMachineConfigFile->strDescription = mUserData->mDescription;
    56565656        mData->m_pMachineConfigFile->strOsType = mUserData->mOSTypeId;
    5657        
     5657
    56585658        if (    mData->mMachineState == MachineState_Saved
    56595659             || mData->mMachineState == MachineState_Restoring
     
    81478147     * (this is expected by Console::TakeSnapshot() and
    81488148     * Console::saveStateThread()) */
    8149     setMachineState(mSnapshotData.mLastState);
     8149    if (mSnapshotData.mLastState != Running) /** @todo Live Save: Quick hack. */
     8150        setMachineState(mSnapshotData.mLastState);
    81508151
    81518152    return endTakingSnapshot(aSuccess);
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