VirtualBox

Changeset 29979 in vbox for trunk


Ignore:
Timestamp:
Jun 2, 2010 11:41:49 AM (15 years ago)
Author:
vboxsync
Message:

Fronrends/VBoxManage: automatically resume VM if savestate failed

File:
1 edited

Legend:

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

    r29970 r29979  
    163163
    164164            ComPtr<IProgress> progress;
    165             CHECK_ERROR_BREAK(console, SaveState(progress.asOutParam()));
     165            CHECK_ERROR(console, SaveState(progress.asOutParam()));
     166            if (FAILED(rc))
     167            {
     168                console->Resume();
     169                break;
     170            }
    166171
    167172            rc = showProgress(progress);
     
    177182                    RTPrintf("Error: failed to save machine state. No error message available!\n");
    178183                }
     184                console->Resume();
    179185            }
    180186        }
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