Hacker News new | ask | show | jobs
by egberts1 1708 days ago
What I am really looking for in Qube is when the window of Windows VM gets minimized, it performs a CPU suspend, preferably within its VM.

No need for chatty telemetry at Windows and app level in the background.

1 comments

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.
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.