]> git.proxmox.com Git - qemu-server.git/commit
cfg2cmd: push vmstate to volid list to ensure it gets also deactivated
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 17 Oct 2019 17:10:43 +0000 (19:10 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 18 Nov 2019 18:54:32 +0000 (19:54 +0100)
commitc4cabf87355d2cb70c34b30e996b51781b718a4d
treed6eef25fe441f3aef703a12b63ede686b9ccd79c
parent2afc3515c7cfbc641a9d1dbacb610cb7630720ce
cfg2cmd: push vmstate to volid list to ensure it gets also deactivated

the volume id list is only used to activate before real start and
deactivate later, so use it for the vmstate file too.

This not only makes config_to_command have less side effects, it also
ensures that the vmstate is deactivated again

Co-developed-by: Alwin Antreich <a.antreich@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
(cherry picked from commit 8f899d734e1c84c0db2f70a7200854387a9e51da)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/QemuServer.pm