]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: handle multicast overflow on macvtap NIC_RX_FILTER_CHANGED
authorJason Baron <jbaron@akamai.com>
Fri, 30 Nov 2018 17:50:26 +0000 (12:50 -0500)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 3 Dec 2018 13:35:10 +0000 (14:35 +0100)
commit8cb06b7f35858b33336bce43401b63138ef03baf
treeea2846090c74e63138660c23fd65ccbc2d0a94e6
parent47647bda0314010ba689c644270c955f592ad74a
qemu: handle multicast overflow on macvtap NIC_RX_FILTER_CHANGED

Guest network devices can set 'overflow' when there are a number of multicast
ips configured. For virtio_net, the limit is only 64. In this case, the list
of mac addresses is empty and the 'overflow' condition is set. Thus, the guest
will currently receive no multicast traffic in this state.

When 'overflow' is set in the guest, let's turn this into ALLMULTI on the host.

Signed-off-by: Jason Baron <jbaron@akamai.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_driver.c