[libvirt PATCH 0/5] qemu: add stricter checks of permissibility of the QoS parameter 'floor'

Pavel Mores pmores at redhat.com
Mon Feb 10 16:10:36 UTC 2020


Aims to fix

https://bugzilla.redhat.com/show_bug.cgi?id=1750219

Libvirt previously silently accepted attempts to set 'floor' even for
direct bridge interface types where the parameter is not supported.  This
could happen when manipulating both inactive and active (e.g. via 'virsh
domiftune') domain configuration.

Pavel Mores (5):
  qemu: fail on attempt to set 'floor' if interface type is not
    'network'
  qemu: check if 'floor' is supported for given interface and network
  qemu: call networkPlugBandwidth() for all types of network
  docs: QoS parameter 'floor' is supported for 'open' networks too
  qemu: reuse convenience variable introduced in a00b97f27672b3

 docs/formatnetwork.html.in  |  2 +-
 src/network/bridge_driver.c | 27 +++++++++++++++++++++------
 src/qemu/qemu_driver.c      | 13 ++++++++++---
 3 files changed, 32 insertions(+), 10 deletions(-)

-- 
2.24.1




More information about the libvir-list mailing list