VirtualBox

Changeset 29970 in vbox for trunk


Ignore:
Timestamp:
Jun 2, 2010 8:46:23 AM (15 years ago)
Author:
vboxsync
Message:

pause before savestate to avoid a live save

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageControlVM.cpp

    r29364 r29970  
    159159        else if (!strcmp(a->argv[1], "savestate"))
    160160        {
     161            /* first pause so we don't trigger a live save which needs more time/resources */
     162            CHECK_ERROR_BREAK(console, Pause());
     163
    161164            ComPtr<IProgress> progress;
    162165            CHECK_ERROR_BREAK(console, SaveState(progress.asOutParam()));
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