[pve-devel] [PATCH qemu-server 1/4] Use correct option for storage_migrate

Fabian Ebner f.ebner at proxmox.com
Wed Jul 29 11:44:15 CEST 2020


Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
---
 PVE/QemuMigrate.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/QemuMigrate.pm b/PVE/QemuMigrate.pm
index b699b67..11fec4b 100644
--- a/PVE/QemuMigrate.pm
+++ b/PVE/QemuMigrate.pm
@@ -560,7 +560,7 @@ sub sync_disks {
 		$bwlimit = $bwlimit * 1024 if defined($bwlimit);
 
 		my $storage_migrate_opts = {
-		    'bwlimit' => $bwlimit,
+		    'ratelimit_bps' => $bwlimit,
 		    'insecure' => $opts->{migration_type} eq 'insecure',
 		    'with_snapshots' => $local_volumes->{$volid}->{snapshots},
 		    'allow_rename' => !$local_volumes->{$volid}->{is_vmstate},
-- 
2.20.1






More information about the pve-devel mailing list