From 79f5ca393ab3608ff2e82c929167f079f964a505 Mon Sep 17 00:00:00 2001 From: Fiona Ebner Date: Fri, 24 Feb 2023 08:37:39 +0100 Subject: [PATCH] clone: remove outdated TODO about bandwidth limit Respecting bandwidth limit for offline clone was implemented by commit 56d16f16 ("fix #4249: make image clone or conversion respect bandwidth limit"). It's still not respected for EFI disks, but those are small, so just ignore it. Signed-off-by: Fiona Ebner --- PVE/QemuServer.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index abb6221e..40be44db 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -8087,7 +8087,6 @@ sub clone_disk { qemu_drive_mirror($vmid, $src_drivename, $newvolid, $newvmid, $sparseinit, $jobs, $completion, $qga, $bwlimit); } else { - # TODO: handle bwlimits if ($dst_drivename eq 'efidisk0') { # the relevant data on the efidisk may be smaller than the source # e.g. on RBD/ZFS, so we use dd to copy only the amount