[PATCH 2/2] qemu: Restore default root qdisc when QoS is cleared out
Daniel P. Berrangé
berrange at redhat.com
Wed Jan 6 11:50:50 UTC 2021
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 at redhat.com>
> ---
> src/qemu/qemu_driver.c | 9 +++++++++
> src/qemu/qemu_hotplug.c | 9 +++++++++
> 2 files changed, 18 insertions(+)
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