The documentation 'man vzdump' states that the value is in KiB/s. This
is correct, as seen in the plugin implementations, where the value is
multiplied by 1024.

Signed-off-by: Fiona Ebner <f.eb...@proxmox.com>
---
 PVE/VZDump.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/VZDump.pm b/PVE/VZDump.pm
index 5b7080f3..33e08f9e 100644
--- a/PVE/VZDump.pm
+++ b/PVE/VZDump.pm
@@ -1084,7 +1084,7 @@ sub exec_backup_task {
        $task->{mode} = $mode;
 
        debugmsg ('info', "backup mode: $mode", $logfd);
-       debugmsg ('info', "bandwidth limit: $opts->{bwlimit} KB/s", $logfd)  if 
$opts->{bwlimit};
+       debugmsg ('info', "bandwidth limit: $opts->{bwlimit} KiB/s", $logfd)  
if $opts->{bwlimit};
        debugmsg ('info', "ionice priority: $opts->{ionice}", $logfd);
 
        if ($mode eq 'stop') {
-- 
2.39.2



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to