]> xenbits.xensource.com Git - libvirt.git/commit
virsh: Implement VIR_DOMAIN_BANDWIDTH_IN_FLOOR
authorMichal Privoznik <mprivozn@redhat.com>
Sat, 1 Aug 2015 07:48:04 +0000 (09:48 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 11 Aug 2015 14:10:32 +0000 (16:10 +0200)
commitd7f5c88961b522165b6a10482170047b494102b1
tree010deef085535380f3407be4bb321ae9df90ffeb
parent55d0e859fd54089c85cf7ef5c9158e10ce375914
virsh: Implement VIR_DOMAIN_BANDWIDTH_IN_FLOOR

We have a function parseRateStr() that parses --inbound and
--outbound arguments to both attach-interface and domiftune.
Now that we have all virTypedParams macros needed for QoS,
lets parse even floor attribute. The extended format for the
arguments looks like this then:

  --inbound average[,peak[,burst[,floor]]]

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
tools/virsh-domain.c
tools/virsh.pod