mirror of
git://git.proxmox.com/git/qemu-server.git
synced 2025-01-06 13:17:56 +03:00
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 <d.csapak@proxmox.com>
This commit is contained in:
parent
0a736d5c85
commit
8aca16542e
@ -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";
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user