]> git.proxmox.com Git - qemu-server.git/commit
api: vm clone: unlink zombie target config at end of error cleanup
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 15 Jan 2020 07:12:22 +0000 (08:12 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 15 Jan 2020 07:12:24 +0000 (08:12 +0100)
commit990b65ab60b9943341d7e61dc60b7016a983354b
treea60ad90314a46a1bd8b1a0d45f685d573cf0e7dd
parentc05c90a10df19f4abee61f8031fbe5b1cf618066
api: vm clone: unlink zombie target config at end of error cleanup

This is the guarantee that this call operates on it's created config.
A VMID cannot be reused afterall. So only remove the guarantee at the
last step, just before throwing up the error message about the clone
failure.

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