mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
cli: add missing remove_first method for --blkiotune
Add missing remove_first method for --blkiotune. Update related man pages. Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
This commit is contained in:
parent
25a50d7b27
commit
c1e7da72b7
@ -164,7 +164,7 @@ Use --memtune=? to see a list of all available sub options. Complete details at
|
|||||||
|
|
||||||
Tune blkio policy for the domain process. Example invocations
|
Tune blkio policy for the domain process. Example invocations
|
||||||
|
|
||||||
--blkiotune weight=100
|
--blkiotune 100
|
||||||
--blkiotune weight=100,device_path=/dev/sdc,device_weight=200
|
--blkiotune weight=100,device_path=/dev/sdc,device_weight=200
|
||||||
|
|
||||||
Use --blkiotune=? to see a list of all available sub options. Complete details at L<http://libvirt.org/formatdomain.html#elementsBlockTuning>
|
Use --blkiotune=? to see a list of all available sub options. Complete details at L<http://libvirt.org/formatdomain.html#elementsBlockTuning>
|
||||||
|
@ -2026,6 +2026,7 @@ class ParserPanic(VirtCLIParser):
|
|||||||
class ParserBlkiotune(VirtCLIParser):
|
class ParserBlkiotune(VirtCLIParser):
|
||||||
def _init_params(self):
|
def _init_params(self):
|
||||||
self.clear_attr = "blkiotune"
|
self.clear_attr = "blkiotune"
|
||||||
|
self.remove_first = "weight"
|
||||||
|
|
||||||
self.set_param("blkiotune.weight", "weight")
|
self.set_param("blkiotune.weight", "weight")
|
||||||
self.set_param("blkiotune.device_path", "device_path")
|
self.set_param("blkiotune.device_path", "device_path")
|
||||||
|
Loading…
Reference in New Issue
Block a user