VirtualBox

Changeset 55698 in vbox


Ignore:
Timestamp:
May 6, 2015 6:29:44 PM (10 years ago)
Author:
vboxsync
Message:

Main/Snapshot: fix taking a snapshot of an already paused VM (needs ignoring the parameter passed by the API caller)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/SnapshotImpl.cpp

    r55511 r55698  
    13441344        if (fTakingSnapshotOnline)
    13451345            m_pDirectControl = m->mData->mSession.mDirectControl;
     1346        // If the VM is already paused then there's no point trying to pause
     1347        // again during taking an (always online) snapshot.
     1348        if (m_machineStateBackup == MachineState_Paused)
     1349            m_fPause = false;
    13461350    }
    13471351
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