Perryg wrote:In the VBox program GUI, what does it say the state is? Off,Saved, Running, Aborted..Etc.
Should be just under the name of the guest on the left side.
Perryg wrote:OK on the right side in the snapshot folder you should see your various snapshots.
The last one should say current state (changed)
What happens if you right click on that one and then click revert?
Perryg wrote:The only thing that I can think of (and I am no expert in snapshots, just what I have found that works for me) is to discard the current state and snapshot (which should take you back to the snapshot just before and revert to that state as well).
But before doing this I would strongly suggest that you make a backup copy of the machine VDI at the very least, in case this whole thing goes south.
MachineState_Null = 0,
MachineState_PoweredOff = 1,
MachineState_Saved = 2,
MachineState_Aborted = 3,
MachineState_Running = 4,
MachineState_Paused = 5,
MachineState_Stuck = 6,
MachineState_Starting = 7,
MachineState_Stopping = 8,
MachineState_Saving = 9,
MachineState_Restoring = 10,
MachineState_Discarding = 11,
MachineState_SettingUp = 12,
MachineState_FirstOnline = 4,
MachineState_LastOnline = 10,
MachineState_FirstTransient = 7,
MachineState_LastTransient = 12
if (mMachineState != MachineState_Saved)
return setError (VBOX_E_INVALID_VM_STATE,
tr ("Cannot discard the machine state as the machine is "
"not in the saved state (machine state: %d)"),
HRESULT rc = S_OK;
rc = mControl->SetRemoveSavedState(aRemove);
* Saved -> PoweredOff transition will be detected in the SessionMachine
* and properly handled.
rc = setMachineState (MachineState_PoweredOff);
Users browsing this forum: No registered users and 13 guests