]> git.proxmox.com Git - pve-manager.git/commit
fix #2096: enable resume in context menu for guest triggered sleep
authorOguz Bektas <o.bektas@proxmox.com>
Mon, 18 Feb 2019 14:52:05 +0000 (15:52 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 19 Feb 2019 10:46:17 +0000 (11:46 +0100)
commitfc32524056eea28b59df9654ca9cdaea70dc84a4
treef4284c65cfade0bd301b1612e28e045907220979
parent017bb1a8bdbc74c8b45147fe356893e78bef28b5
fix #2096: enable resume in context menu for guest triggered sleep

We act correctly for an outside triggered suspend, but if the guest
suspends itself from inside (e.g., systemctl suspend,
`echo "standby" > /sys/power/state` or windows sleep) it has another
state (suspended vs. paused), so handled that also

Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
www/manager6/qemu/CmdMenu.js