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

Pavel Mores posted 6 patches 4 years, 2 months ago
Test syntax-check failed
Failed in applying to current master (apply log)
docs/formatnetwork.html.in       |  2 +-
src/conf/netdev_bandwidth_conf.h | 27 +++++++++++++++++++++++++++
src/network/bridge_driver.c      | 27 +++++++++++++++++++--------
src/qemu/qemu_driver.c           | 18 +++++++++++++++---
4 files changed, 62 insertions(+), 12 deletions(-)
[libvirt PATCH v2 0/6] qemu: add stricter checks of permissibility of the QoS parameter 'floor'
Posted by Pavel Mores 4 years, 2 months ago
v2 is mostly just integrating requests from Michal's review.  The initial two
commits introduce new utility functions to be used in the following two
commits.  The final two commits have no substantial changes since v1.

The only exception are long lines caused by error messages which stay unbroken
in v2 as per libvirt's contributor's guidelines (as was also pointed out during
review).

Pavel Mores (6):
  qemu: test if bandwidth has 'floor' factored out to separate function
  qemu: add function to test if network supports setting 'floor'
  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

 docs/formatnetwork.html.in       |  2 +-
 src/conf/netdev_bandwidth_conf.h | 27 +++++++++++++++++++++++++++
 src/network/bridge_driver.c      | 27 +++++++++++++++++++--------
 src/qemu/qemu_driver.c           | 18 +++++++++++++++---
 4 files changed, 62 insertions(+), 12 deletions(-)

-- 
2.24.1

Re: [libvirt PATCH v2 0/6] qemu: add stricter checks of permissibility of the QoS parameter 'floor'
Posted by Michal Privoznik 4 years, 2 months ago
On 2/14/20 5:26 PM, Pavel Mores wrote:
> v2 is mostly just integrating requests from Michal's review.  The initial two
> commits introduce new utility functions to be used in the following two
> commits.  The final two commits have no substantial changes since v1.
> 
> The only exception are long lines caused by error messages which stay unbroken
> in v2 as per libvirt's contributor's guidelines (as was also pointed out during
> review).
> 
> Pavel Mores (6):
>    qemu: test if bandwidth has 'floor' factored out to separate function
>    qemu: add function to test if network supports setting 'floor'
>    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
> 
>   docs/formatnetwork.html.in       |  2 +-
>   src/conf/netdev_bandwidth_conf.h | 27 +++++++++++++++++++++++++++
>   src/network/bridge_driver.c      | 27 +++++++++++++++++++--------
>   src/qemu/qemu_driver.c           | 18 +++++++++++++++---
>   4 files changed, 62 insertions(+), 12 deletions(-)
> 

I'm fixing all the small issues I've raised and pushing.

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>

Michal