Re: [PATCH 2/2] qemu: Restore default root qdisc when QoS is cleared out

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Dec 04, 2020 at 02:11:24PM +0100, Michal Privoznik wrote:
> When an interface has some bandwidth limitation set (it's root
> qdisc is htb in that case) but this gets cleared out via public
> API call (virDomainSetInterfaceParameters() or
> virDomainUpdateDeviceFlags()) then virNetDevBandwidthSet() clears
> out whatever qdiscs were set on the interface and kernel places
> the default qdisc at the root. What we need to do next is to
> replace the root qdisc with the one we want.
> 
> Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1329644
> Fixes: 0b66196d86ea375234cb0ee99289c486f9921820
> Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
> ---
>  src/qemu/qemu_driver.c  | 9 +++++++++
>  src/qemu/qemu_hotplug.c | 9 +++++++++
>  2 files changed, 18 insertions(+)

Reviewed-by: Daniel P. Berrangé <berrange@xxxxxxxxxx>


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 :|




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux