]> git.proxmox.com Git - qemu-server.git/commit
qmeventd: also treat 'prelaunch' and 'suspended' states as active
authorFiona Ebner <f.ebner@proxmox.com>
Tue, 10 Oct 2023 08:57:03 +0000 (10:57 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 23 Apr 2024 14:46:20 +0000 (16:46 +0200)
commit81a8c4e5ee44af91dc283bc5ebf4760f0b8b8a51
tree68103a7b8d26dbd0d0c97ee9ccccdbdc0f1fc1f6
parent6ba1f1c0c3845f8e37b4a6269d98a44b5123cd2b
qmeventd: also treat 'prelaunch' and 'suspended' states as active

Otherwise, a VM in those states would be terminated after a backup
in handle_qmp_return() with QMP 'quit', which is pretty bad in case
of the 'suspended' state.

Does not change the fact that a VM started in prelaunch mode for
backup is terminated later (that is handled by the Perl code).

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
qmeventd/qmeventd.c