mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-28 14:00:44 +00:00
485e3ce88e
The bug is that the EventNotifiers do have a NULL io_flush callback.
Because _none_ of the callbacks on the dataplane AioContext have such a
callback, aio_poll will simply do nothing. Fixed by adding the callbacks:
the ioeventfd will always be polled (this can change in the future to
pause/resume the processing during live snapshots or similar operations);
the ioqueue will be polled if there are outstanding requests.
I must admit I have screwed up my testing somehow, because commit
|
||
---|---|---|
.. | ||
hostmem.c | ||
hostmem.h | ||
ioq.c | ||
ioq.h | ||
Makefile.objs | ||
virtio-blk.c | ||
virtio-blk.h | ||
vring.c | ||
vring.h |