]> git.proxmox.com Git - qemu-server.git/commitdiff
clone: remove outdated TODO about bandwidth limit
authorFiona Ebner <f.ebner@proxmox.com>
Fri, 24 Feb 2023 07:37:39 +0000 (08:37 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 24 Feb 2023 07:56:28 +0000 (08:56 +0100)
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 <f.ebner@proxmox.com>
PVE/QemuServer.pm

index abb6221eda33309d601ee4c56c952a901f69d9a0..40be44dbfa2a25b99a73187de3e4f4459898c3c3 100644 (file)
@@ -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