Skip to content
Snippets Groups Projects
user avatar
Mark Somerville authored
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: default avatarMark Somerville <mark@qpok.net>
Reviewed-by: default avatarKonstantin Kostiuk <kkostiuk@redhat.com>
Signed-off-by: default avatarKonstantin Kostiuk <kkostiuk@redhat.com>
86dcb6ab
History