Auto suspend and resume KVM Virtual Machine with the host

from blog Abishek Muthian, | ↗ original
When the host machine is suspended while the KVM through QEMU is running lead to issues like display unable to wake up when resuming suspend. Suspending and resuming the Virtual Machine when the host machine is suspended using hooks in systemd and resumed fixes this issue. /etc/systemd/system/root-suspend.service [Unit] Description=Local system...