]> git.proxmox.com Git - qemu-server.git/commit
fix #4474: qemu api: add overrule-shutdown parameter to stop endpoint
authorFriedrich Weber <f.weber@proxmox.com>
Fri, 12 Apr 2024 14:15:51 +0000 (16:15 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 17 Apr 2024 18:42:26 +0000 (20:42 +0200)
commit50b5893b500f67a5d6b205c770597a64d6671dd6
tree0191a83bd2364be181a55b05cdd816efa67a69d7
parent1f743141e3095d07874e171d6c03b335d9c7e572
fix #4474: qemu api: add overrule-shutdown parameter to stop endpoint

The new `overrule-shutdown` parameter is boolean and defaults to 0. If
it is 1, all active `qmshutdown` tasks for the same VM (which are
visible to the user/token) are aborted before attempting to stop the
VM.

Passing `overrule-shutdown=1` is forbidden for HA resources.

Signed-off-by: Friedrich Weber <f.weber@proxmox.com>
PVE/API2/Qemu.pm