Hacker News new | ask | show | jobs
by elliotkillick 1702 days ago
Qubes supports VM suspension so if you wanted to you could easily create a simple shell script to suspend and resume upon the Windows VM window becoming minimized and reopened. You could use `xprop -spy <window_id>` to check the window status without polling and `qvm-pause`/`qvm-unpause` to suspend/resume the VM.
1 comments

You went ahead … and “made my day!”

While the suggestion does not encroach inside the Windows’ VM to perform “their” CPU suspension, it is a better idea to process suspend the host’s KVM underlying that Windows VM. Hope that the guest’s video driver doesn’t leave its hardware in an inconsistent state for the host’s main video driver and its entire system.

This tidbit needs to be made a prominent FAQ on Qube website.