]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: blockjob: Support --bytes and scaled integers as bandwidth
authorPeter Krempa <pkrempa@redhat.com>
Tue, 29 Mar 2016 13:52:10 +0000 (15:52 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 29 Mar 2016 13:52:10 +0000 (15:52 +0200)
commite54b5484c972308ec0f6e3d79f3016437905ebf8
tree5ecb2e6e87a63dd9d8206b8e3a352b599462ade5
parentd18e78c24639198d3dfee8318d49754b74305b13
virsh: blockjob: Support --bytes and scaled integers as bandwidth

Use vshBlockJobOptionBandwidth to parse the bandwidth value which will
allow users to specify bandwidth in bytes or as a scaled integer.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1288000
tools/virsh-domain.c
tools/virsh.pod