The server it is running is shared and requires to be restarted from time to time and seeing the crash message on the guest windows system is definitely not a pleasant sight.
It happens like this:
I have my user logged in.
User A requires reboot of the machine to continue.
A has no access to my account.
- A initiates a reboot which includes a logoff of all connected accounts.
- My programs receive the KILL signal which includes a default timeout (in that machine, the sysOP declared that all programs have, at most 30 secs to terminate (this number can be increased when requesting the reboot in the command line (or equivalent)).
- Virtual box locks waiting for the user response (which is impossible to give).
- After the 30 secs all programs are ready except for virtual box that is still waiting.
- Virtual box is killed as with the OS inside.
How do I make it so that VBox reacts to the KILL signal with a savestate?