[PATCH 1/2] qemu: Set default qdisc before setting bandwidth

Daniel P. Berrangé berrange at redhat.com
Wed Jan 6 11:49:40 UTC 2021


On Fri, Dec 04, 2020 at 02:11:23PM +0100, Michal Privoznik wrote:
> While the code that's setting default qdisc is clever enough to
> not overwrite any bandwidth (potentially) set by
> virNetDevBandwidthSet() (and thus the root qdisc htb is not
> replaced with noqueue), it does print a debug message when that's
> the case. It's needless. We can set the root qdisc beforehand and
> let virNetDevBandwidthSet() overwrite it.
> 
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
>  src/qemu/qemu_command.c | 4 ++--
>  src/qemu/qemu_hotplug.c | 4 ++--
>  2 files changed, 4 insertions(+), 4 deletions(-)

Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




More information about the libvir-list mailing list