]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Emit NIC_MAC_CHANGE event
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 27 Jun 2023 11:32:55 +0000 (13:32 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 25 Mar 2025 10:49:30 +0000 (11:49 +0100)
commit50981052a5fe1bd0247a38b776cbe4a25405862a
tree702784f8bd53d3071d68b4a2190e736487abc690
parent057872df2df40c66a0fc9f9ffcb4701ce6b88621
qemu: Emit NIC_MAC_CHANGE event

So far, we only process NIC_RX_FILTER_CHANGED event when the
corresponding device has 'trustGuestRxFilters' enabled. And the
event is emitted only for virtio model. IOW, this is fairly
limited situation and other scenarios don't emit any event (e.g.
change of MAC address on a PCI passthrough device).

Resolves: https://issues.redhat.com/browse/RHEL-7035
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
src/qemu/qemu_domain.c
src/qemu/qemu_domain.h
src/qemu/qemu_driver.c
src/qemu/qemu_process.c