]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virnetdev: Introduce virNetDevSetRootQDisc()
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 8 Oct 2020 12:37:54 +0000 (14:37 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 13 Oct 2020 14:31:29 +0000 (16:31 +0200)
commit01559528e5de106ae044eb753039385896265431
tree61c40687f733a1eed077b61182bec1b5d4918543
parent6caaed65f24549093e6af57e4b9eb89a946e6e7c
virnetdev: Introduce virNetDevSetRootQDisc()

This helper changes the root qdisc on given interface.
Ideally, it would be written using netlink but my attempts to
write the code were not successful and thus I've fallen back to
virCommand() + tc.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
src/libvirt_private.syms
src/util/virnetdev.c
src/util/virnetdev.h