aboutsummaryrefslogtreecommitdiff
path: root/qemu-io.c
diff options
context:
space:
mode:
authorMark Somerville <mark@qpok.net>2023-04-06 13:45:31 +0100
committerKonstantin Kostiuk <kkostiuk@redhat.com>2023-05-04 09:30:01 +0000
commit86dcb6ab9b603450eb6d896cdc95286de2c7d561 (patch)
tree7146b57ae92a95e208e19945c1a191a61307b0be /qemu-io.c
parent8cc28cb16e696580ffa29cd5fee0d371303c805b (diff)
downloadqemu-86dcb6ab9b603450eb6d896cdc95286de2c7d561.zip
qemu-86dcb6ab9b603450eb6d896cdc95286de2c7d561.tar.gz
qemu-86dcb6ab9b603450eb6d896cdc95286de2c7d561.tar.bz2
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 <mark@qpok.net> Reviewed-by: Konstantin Kostiuk <kkostiuk@redhat.com> Signed-off-by: Konstantin Kostiuk <kkostiuk@redhat.com>
Diffstat (limited to 'qemu-io.c')
0 files changed, 0 insertions, 0 deletions