]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: setup infrastructure to handle NIC_RX_FILTER_CHANGED event
authorLaine Stump <laine@laine.org>
Wed, 17 Sep 2014 17:07:50 +0000 (13:07 -0400)
committerLaine Stump <laine@laine.org>
Mon, 6 Oct 2014 17:50:57 +0000 (13:50 -0400)
commitb6bdda458ab08353dc2b664d026de6322c7db680
tree51d5601b12d50059d7044626951413d08a465802
parentac4f8be422521875b64f51bcea953a6d1c6bfb09
qemu: setup infrastructure to handle NIC_RX_FILTER_CHANGED event

NIC_RX_FILTER_CHANGED is sent by qemu any time a NIC driver in the
guest modified the NIC's RX Filter (for example, if the MAC address of
the NIC is changed by the guest).

This patch doesn't do anything useful with that event; it just sets up
all the plumbing to get news of the event into a worker thread with
all proper locking/reference counting, and provide an easy place to
add in desired functionality.

See src/qemu/EVENTHANDLERS.txt for information/instructions on adding
a libvirt-internal handler for a qemu event (using
NIC_RX_FILTER_CHANGED as an example).
src/qemu/qemu_domain.h
src/qemu/qemu_driver.c
src/qemu/qemu_monitor.c
src/qemu/qemu_monitor.h
src/qemu/qemu_monitor_json.c
src/qemu/qemu_process.c