[pve-devel] [PATCH qemu-server v2 6/8] add todo comment for bwlimits in clone_disk
Stoiko Ivanov
s.ivanov at proxmox.com
Mon Apr 1 11:31:03 CEST 2019
clone_disk calls `qemu-img convert` for offline disks, which does not have a
bandwidth limit parameter.
Signed-off-by: Stoiko Ivanov <s.ivanov at proxmox.com>
---
PVE/QemuServer.pm | 1 +
1 file changed, 1 insertion(+)
diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index f9b0f58..ba14579 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -6940,6 +6940,7 @@ sub clone_disk {
my $sparseinit = PVE::Storage::volume_has_feature($storecfg, 'sparseinit', $newvolid);
if (!$running || $snapname) {
+ # TODO: handle bwlimits
qemu_img_convert($drive->{file}, $newvolid, $size, $snapname, $sparseinit);
} else {
--
2.11.0
More information about the pve-devel
mailing list