mirror of
https://github.com/qemu/qemu.git
synced 2025-10-25 19:32:47 +00:00
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 | ||