VirtualBox

Changeset 91366 in vbox


Ignore:
Timestamp:
Sep 24, 2021 3:10:36 PM (3 years ago)
Author:
vboxsync
Message:

Main/Machine: VMs which crash while restoring from the 'Saved' state
shouldn't lose their saved state file (follow-up fix to prevent a
gratuitous machine settings update when returning to the 'AbortedSaved'
state from the 'AbortedSaved' state). bugref:1484

File:
1 edited

Legend:

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

    r91363 r91366  
    1268312683        if (mData->mMachineState == MachineState_Saved || mData->mMachineState == MachineState_Restoring)
    1268412684            i_setMachineState(MachineState_AbortedSaved);
    12685         else if (mData->mMachineState != MachineState_Aborted)
     12685        else if (mData->mMachineState != MachineState_Aborted && mData->mMachineState != MachineState_AbortedSaved)
    1268612686            i_setMachineState(MachineState_Aborted);
    1268712687    }
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