While we taught libvirt to listen to MAC address changes from
guests we forgot to update our QoS hierarchy accordingly.
The first 3 patches are pure bug fixes and can go in regardless of
state of the rest.
The 4th patch is a slight improvement as it makes filter priority
predictable.
Then, patches 5-7 actually fix the bug.
Michal Privoznik (7):
virNetDevBandwidthPlug: Update function description
RNG schema: allow plain @floor to <bandwidth/>
virDomainActualNetDefContentsFormat: Format class_id more frequently
virNetDevBandwidthSet: Add priority to filter
virnetdevbandwidth.c: Separate tc filter creation to a function
Introduce virNetDevBandwidthUpdateFilter
processNicRxFilterChangedEvent: Take appropriate actions for
NET_TYPE_NETWORK too
docs/schemas/networkcommon.rng | 8 +-
src/conf/domain_conf.c | 3 +-
src/libvirt_private.syms | 1 +
src/qemu/qemu_driver.c | 22 +++
src/util/virnetdevbandwidth.c | 186 ++++++++++++++++-----
src/util/virnetdevbandwidth.h | 6 +
.../qemuxml2argv-net-bandwidth2.xml | 65 +++++++
tests/qemuxml2xmltest.c | 1 +
tests/virnetdevbandwidthtest.c | 4 +-
9 files changed, 250 insertions(+), 46 deletions(-)
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-net-bandwidth2.xml
--
2.0.5