casualsnek / cassowary

Run Windows Applications on Linux as if they are native, Use linux applications to launch files files located in windows vm without needing to install applications on vm. With easy to use configuration GUI
GNU General Public License v2.0
2.87k stars 75 forks source link

[REQUEST] Allow saving the VM to disk after a period of inactivity #99

Open Sonico98 opened 2 years ago

Sonico98 commented 2 years ago

Currently the software can only pause the VM after X seconds of inactivity, and while doing so stops using CPU cycles, the memory required by the VM is still in use. It would be useful to be able to suspend the VM to disk (using Virtual Machine Manager, right click the VM, "Shut dowṇ" -> "Save"), which frees up all the resources currently in use, at the cost of increased storage usage and a slightly longer startup time. I think it should be a separate option, allowing the user to pause the VM after X seconds, and then save it to disk if no activity has been detected after Y seconds, with X<=Y.