VirtualBox

Changeset 91363 in vbox for trunk/src/VBox/Main/cbinding


Ignore:
Timestamp:
Sep 24, 2021 1:08:32 PM (3 years ago)
Author:
vboxsync
Message:

FE/VBoxSDL+VirtualBox,Main/Console+Machine+VirtualBox.xidl: VMs which
crash while restoring from the 'Saved' state shouldn't lose their saved
state file. bugref:1484

A new machine state named 'AbortedSaved' has been added which a VM will
enter if it crashes when restoring from the 'Saved' state before the
'Running' state has been reached. A VM in the 'AbortedSaved' machine
state will have its saved state file preserved so that the VM can still be
restored once the cause of the failure to powerUp() and reach the
'Running' state has been resolved.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/cbinding/tstCAPIGlue.c

    r83828 r91363  
    7474        case MachineState_Teleported:          return "Teleported";
    7575        case MachineState_Aborted:             return "Aborted";
     76        case MachineState_AbortedSaved:        return "Aborted-Saved";
    7677        case MachineState_Running:             return "Running";
    7778        case MachineState_Paused:              return "Paused";
     
    181182                || state == MachineState_Teleported
    182183                || state == MachineState_Aborted
     184                || state == MachineState_AbortedSaved
    183185               )
    184186                g_fStop = 1;
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