Fix an assertion failure when aio_poll() is called in a aio_disable_external()
region. The failure happens when fdmon-poll is first upgraded to fdmon-epoll
and then downgraded again due to aio_disable_external().
Stefan Hajnoczi (2):
fdmon-poll: reset npfd when upgrading to fdmon-epoll
tests: add test-fdmon-epoll
MAINTAINERS | 1 +
tests/Makefile.include | 4 +++
tests/test-fdmon-epoll.c | 73 ++++++++++++++++++++++++++++++++++++++++
util/fdmon-poll.c | 1 +
4 files changed, 79 insertions(+)
create mode 100644 tests/test-fdmon-epoll.c
--
2.26.2