]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
bridge_driver: Introduce networkBandwidthChangeAllowed
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 31 Jul 2015 15:02:10 +0000 (17:02 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 11 Aug 2015 14:10:32 +0000 (16:10 +0200)
commit41a1531de54476310572f694c0b9cb9c63d4191d
tree5bbd3c644bab8eff1d21aaa96bd51386a4d07ae7
parent45090449c476d328541225f79d040345a781121a
bridge_driver: Introduce networkBandwidthChangeAllowed

When a domain vNIC's bandwidth is to be changed (at runtime) it is
possible that guaranteed minimal bandwidth (@floor) will change too.
Well, so far it is, because we still don't have an implementation that
allows setting it dynamically, so it's effectively erased on:

    #virsh domiftune $dom vnet0 --inbound 0

However, that's slightly unfortunate. We do some checks on domain
startup to see if @floor can be guaranteed. We ought do the same if
QoS is changed at runtime.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/network/bridge_driver.c
src/network/bridge_driver.h