]> git.proxmox.com Git - qemu-server.git/commit
api: vm clone: remove cloned FW conf in error cleanup path
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 15 Jan 2020 07:06:14 +0000 (08:06 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 15 Jan 2020 07:06:16 +0000 (08:06 +0100)
commitc05c90a10df19f4abee61f8031fbe5b1cf618066
treed5a2cb41a703980db37c58ca924b3a5818f5fdf4
parenta85ff91ba058b55c148425634d7d5be793c5b04c
api: vm clone: remove cloned FW conf in error cleanup path

We clone the source VM firewall config before forking the "realcmd"
worker, but did not mind cleaning it up again if the clone failed
somewhere in the worker.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/API2/Qemu.pm