]> git.proxmox.com Git - qemu-server.git/commit
fix clone_disk failing for nonexistent cloudinit disk
authorMira Limbeck <m.limbeck@proxmox.com>
Mon, 28 Sep 2020 08:36:31 +0000 (10:36 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 16 Oct 2020 13:39:43 +0000 (15:39 +0200)
commitd0abc7746acc953fcf7ff2d21509e80bc77fa59d
tree84a32611a456e2c61e13a4c38b912f2fc592bb33
parentf8c4b2c5ba1820b86ae69751ab643e26ca8c9852
fix clone_disk failing for nonexistent cloudinit disk

After migration or a rollback the cloudinit disk might not be allocated, so
volume_size_info() fails. As we override the value anyway for cloudinit
and efi disks simply move the volume_size_info() call into the 'else'
branch.

Signed-off-by: Mira Limbeck <m.limbeck@proxmox.com>
PVE/QemuServer.pm