[pve-devel] [PATCH common v2 1/1] JSONSchema: fix units of bwlimit

Stoiko Ivanov s.ivanov at proxmox.com
Mon Apr 1 11:30:57 CEST 2019


the description of bwlimit wrote MiB/s, the use in restore operation is KiB/s

Signed-off-by: Stoiko Ivanov <s.ivanov at proxmox.com>
---
 src/PVE/JSONSchema.pm | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/PVE/JSONSchema.pm b/src/PVE/JSONSchema.pm
index f0fc2aa..51ef3ab 100644
--- a/src/PVE/JSONSchema.pm
+++ b/src/PVE/JSONSchema.pm
@@ -466,23 +466,23 @@ my %bwlimit_opt = (
 my $bwlimit_format = {
 	default => {
 	    %bwlimit_opt,
-	    description => 'default bandwidth limit in MiB/s',
+	    description => 'default bandwidth limit in KiB/s',
 	},
 	restore => {
 	    %bwlimit_opt,
-	    description => 'bandwidth limit in MiB/s for restoring guests from backups',
+	    description => 'bandwidth limit in KiB/s for restoring guests from backups',
 	},
 	migration => {
 	    %bwlimit_opt,
-	    description => 'bandwidth limit in MiB/s for migrating guests',
+	    description => 'bandwidth limit in KiB/s for migrating guests (including moving local disks)',
 	},
 	clone => {
 	    %bwlimit_opt,
-	    description => 'bandwidth limit in MiB/s for cloning disks',
+	    description => 'bandwidth limit in KiB/s for cloning disks',
 	},
 	move => {
 	    %bwlimit_opt,
-	    description => 'bandwidth limit in MiB/s for moving disks',
+	    description => 'bandwidth limit in KiB/s for moving disks',
 	},
 };
 register_format('bwlimit', $bwlimit_format);
-- 
2.11.0





More information about the pve-devel mailing list