Savestate failed
Posted: 25. Jun 2020, 22:36
I am running a Linux host (OpenSuSE 15.1) and Windows guest (Win10 Pro). Recently, Xorg crashed on the host and froze everything. I managed to SSH into the host from a different PC and issued the following command:
vboxmanage controlvm "Windows 10 Professional" savestate
I rebooted the host through SSH and logged back in. When I launched the Windows guest back, the state wasn't saved, but rather was ungraciously powered off. On the log I found the following:
08:18:23.498579 Changing the VM state from 'RUNNING' to 'SUSPENDING'
08:18:23.655548 PDMR3Suspend: 156 921 798 ns run time
08:18:23.655581 Changing the VM state from 'SUSPENDING' to 'SUSPENDED'
08:18:23.655599 Console: Machine state changed to 'Paused'
08:18:23.656956 Console: Machine state changed to 'Saving'
08:18:23.657851 Changing the VM state from 'SUSPENDED' to 'SAVING'
<SNIP>
08:19:06.795892 SSM: Successfully saved the VM state to '/home/VirtualBox VMs/Windows 10 Professional/Snapshots/2020-06-25T19-37-30-235692000Z.sav'
08:19:06.795905 Changing the VM state from 'SAVING' to 'SUSPENDED'
08:19:06.795935 Console::powerDown(): A request to power off the VM has been issued (mMachineState=Saving, InUninit=0)
08:19:06.796034 Changing the VM state from 'SUSPENDED' to 'POWERING_OFF'
What caused the VM to be Powered Off instead of Saved, even though the log shows that it was saved successfully? There is a 3.5GB .sav file on the Snapshot directory.
vboxmanage controlvm "Windows 10 Professional" savestate
I rebooted the host through SSH and logged back in. When I launched the Windows guest back, the state wasn't saved, but rather was ungraciously powered off. On the log I found the following:
08:18:23.498579 Changing the VM state from 'RUNNING' to 'SUSPENDING'
08:18:23.655548 PDMR3Suspend: 156 921 798 ns run time
08:18:23.655581 Changing the VM state from 'SUSPENDING' to 'SUSPENDED'
08:18:23.655599 Console: Machine state changed to 'Paused'
08:18:23.656956 Console: Machine state changed to 'Saving'
08:18:23.657851 Changing the VM state from 'SUSPENDED' to 'SAVING'
<SNIP>
08:19:06.795892 SSM: Successfully saved the VM state to '/home/VirtualBox VMs/Windows 10 Professional/Snapshots/2020-06-25T19-37-30-235692000Z.sav'
08:19:06.795905 Changing the VM state from 'SAVING' to 'SUSPENDED'
08:19:06.795935 Console::powerDown(): A request to power off the VM has been issued (mMachineState=Saving, InUninit=0)
08:19:06.796034 Changing the VM state from 'SUSPENDED' to 'POWERING_OFF'
What caused the VM to be Powered Off instead of Saved, even though the log shows that it was saved successfully? There is a 3.5GB .sav file on the Snapshot directory.