Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
qga: Fix suspend on Linux guests without systemd
Allow the Linux guest agent to attempt each of the suspend methods (systemctl, pm-* and writing to /sys) in turn. Prior to this guests without systemd failed to suspend due to `guest_suspend` returning early regardless of the return value of `systemd_supports_mode`. Signed-off-by: Mark Somerville <[email protected]> Reviewed-by: Konstantin Kostiuk <[email protected]> Signed-off-by: Konstantin Kostiuk <[email protected]> (cherry picked from commit 86dcb6ab9b603450eb6d896cdc95286de2c7d561) Signed-off-by: Michael Tokarev <[email protected]>
- Loading branch information