Comment by tonymet
9 hours ago
This is clever, but running in a VM with hibernation is a lot easier, more consistent and more comprehensive (all state is saved, and restored instantly)
9 hours ago
This is clever, but running in a VM with hibernation is a lot easier, more consistent and more comprehensive (all state is saved, and restored instantly)
I built an almost the same thing for myself and the main use case for me is on a work laptop where I run WSL and I leave on standby overnight. Then the I'd dept forces a reboot to install updates and all my windows are gone...
Saving state every afternoon would be a pain.
Might be a bit naïve, but wouldn't a VM take up a lot more memory?
But the VM needs reboots too, kernel upgrades for example.
And if you upgrade libraries, especially for security issues, you need to restart apps dependent upon them, needrestart in Debian helps greatly with this.
So a VM doesn't really help solve this.