[pve-devel] [PATCH qemu-server v2 7/8] bwlimit: add parameter to QemuServer::clone_disk
Stoiko Ivanov
s.ivanov at proxmox.com
Mon Apr 1 11:31:04 CEST 2019
and pass it to qemu_drive_mirror (used for online disks).
Signed-off-by: Stoiko Ivanov <s.ivanov at proxmox.com>
---
PVE/QemuServer.pm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index ba14579..7d2066e 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -6905,7 +6905,7 @@ sub qemu_blockjobs_cancel {
sub clone_disk {
my ($storecfg, $vmid, $running, $drivename, $drive, $snapname,
- $newvmid, $storage, $format, $full, $newvollist, $jobs, $skipcomplete, $qga) = @_;
+ $newvmid, $storage, $format, $full, $newvollist, $jobs, $skipcomplete, $qga, $bwlimit) = @_;
my $newvolid;
@@ -6950,7 +6950,7 @@ sub clone_disk {
if $drive->{iothread};
}
- qemu_drive_mirror($vmid, $drivename, $newvolid, $newvmid, $sparseinit, $jobs, $skipcomplete, $qga);
+ qemu_drive_mirror($vmid, $drivename, $newvolid, $newvmid, $sparseinit, $jobs, $skipcomplete, $qga, $bwlimit);
}
}
--
2.11.0
More information about the pve-devel
mailing list