]> git.proxmox.com Git - pve-manager.git/commit - www/manager6/qemu/Config.js
ui: qemu: set correct disabled state for start button
authorStefan Reiter <s.reiter@proxmox.com>
Mon, 19 Oct 2020 12:18:42 +0000 (14:18 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 5 Nov 2020 12:31:29 +0000 (13:31 +0100)
commit6a073b92e90c55a252d21c3ec36fefb841561103
tree4560eb9e023fefa4cc435352792b48983e08c6b1
parent7828eef6f29a8595f93853c2e58b80505bc35a3a
ui: qemu: set correct disabled state for start button

If a guest's QEMU process is 'running', but QMP says 'shutdown' or
'prelaunch', the VM is ready to be booted anew, so we can show the
button.

The 'shutdown' button is intentionally not touched, as we always want to
give the user the ability to 'stop' a VM (and thus kill any potentially
leftover processes).

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
www/manager6/qemu/Config.js