mirror of
https://github.com/qemu/qemu.git
synced 2025-08-05 19:09:28 +00:00

Outside the safety of the global mutex we need to poll on file descriptors. I found epoll(2) is a convenient way to do that, although other options could replace this module in the future (such as an AioContext-based loop or glib's GMainLoop). One important feature of this small event loop implementation is that the loop can be terminated in a thread-safe way. This allows QEMU to stop the data plane thread cleanly. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
4 lines
110 B
Makefile
4 lines
110 B
Makefile
ifeq ($(CONFIG_VIRTIO), y)
|
|
common-obj-$(CONFIG_VIRTIO_BLK_DATA_PLANE) += hostmem.o vring.o event-poll.o
|
|
endif
|