From 8aca16542e196b3af4cc037942d95c9ea4202888 Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Fri, 14 Jul 2017 14:36:16 +0200 Subject: [PATCH] fix disk throttling syntax the syntax was wrong, it was (e.g. for iops-write): throttling.iops-write=-max100 instead of throttling.iops-write-max=100 Signed-off-by: Dominik Csapak --- PVE/QemuServer.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 79a65ee..98cd762 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -1613,10 +1613,10 @@ sub print_drive_full { $opts .= ",throttling.iops$qmpname=$v"; } if (my $v = $drive->{"iops${dir}_max"}) { - $opts .= ",throttling.iops$qmpname=-max$v"; + $opts .= ",throttling.iops$qmpname-max=$v"; } if (my $v = $drive->{"iops${dir}_max_length"}) { - $opts .= ",throttling.iops$qmpname=-max-length$v"; + $opts .= ",throttling.iops$qmpname-max-length=$v"; } } -- 2.39.2