mirror of
git://git.proxmox.com/git/qemu-server.git
synced 2025-01-21 18:03:56 +03:00
Mira Limbeck
1b485263b3
fix drive-mirror completion with cloudinit
On clone_vm when cloning the disks while the VM is running, we use drive-mirror. We skip completion until the last disk, but with a cloudinit disk there's no drive-mirror and so no completion done. If it is the last disk in the hash, we never complete the drive-mirror jobs and no further cloning is possible as there are already active jobs using the disks. To fix it we have to call qemu_drive_mirror_monitor directly in the case of cloudinit when completion is requested and there are jobs defined. Signed-off-by: Mira Limbeck <m.limbeck@proxmox.com>
Description
No description provided
Languages
Perl
86.3%
Batchfile
10.6%
C
2.3%
Makefile
0.8%