qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] fdmon-poll: reset npfd when upgrading to fdmon-epoll
@ 2020-08-21 10:12 Stefan Hajnoczi
  2020-08-21 10:12 ` [PATCH 1/2] " Stefan Hajnoczi
  2020-08-21 10:12 ` [PATCH 2/2] tests: add test-fdmon-epoll Stefan Hajnoczi
  0 siblings, 2 replies; 4+ messages in thread
From: Stefan Hajnoczi @ 2020-08-21 10:12 UTC (permalink / raw)
  To: qemu-devel; +Cc: Fam Zheng, qemu-block, qemu-stable, Stefan Hajnoczi

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-08-21 13:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-21 10:12 [PATCH 0/2] fdmon-poll: reset npfd when upgrading to fdmon-epoll Stefan Hajnoczi
2020-08-21 10:12 ` [PATCH 1/2] " Stefan Hajnoczi
2020-08-21 13:54   ` Philippe Mathieu-Daudé
2020-08-21 10:12 ` [PATCH 2/2] tests: add test-fdmon-epoll Stefan Hajnoczi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).