qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2] async: aio_context_new(): Handle event_notifier_init failure
@ 2014-09-16  9:06 Chrysostomos Nanakos
  2014-09-16  9:06 ` Chrysostomos Nanakos
  0 siblings, 1 reply; 8+ messages in thread
From: Chrysostomos Nanakos @ 2014-09-16  9:06 UTC (permalink / raw)
  To: qemu-devel
  Cc: kwolf, Chrysostomos Nanakos, pingfank, famz, benoit, jan.kiszka,
	stefanha, mjt, kroosec, sw, pbonzini, afaerber, aliguori

v1->v2
------

* aio_context_new() returns NULL if the initialization of event notifier fails.
* Add descriptive error messages if aio_context_new() and event_notifier_init()
  fail.
* Fix gpollfds leak.

Chrysostomos Nanakos (1):
  async: aio_context_new(): Handle event_notifier_init failure

 async.c                  |   17 ++++++++++++-----
 include/block/aio.h      |    2 +-
 include/qemu/main-loop.h |    2 +-
 iothread.c               |   10 +++++++++-
 main-loop.c              |    9 +++++++--
 qemu-img.c               |   11 ++++++++++-
 qemu-io.c                |   10 +++++++++-
 qemu-nbd.c               |   12 +++++++++---
 tests/test-aio.c         |   10 +++++++++-
 tests/test-thread-pool.c |   10 +++++++++-
 tests/test-throttle.c    |   10 +++++++++-
 vl.c                     |    7 +++++--
 12 files changed, 90 insertions(+), 20 deletions(-)

-- 
1.7.10.4

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

end of thread, other threads:[~2014-09-16 17:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-16  9:06 [Qemu-devel] [PATCH v2] async: aio_context_new(): Handle event_notifier_init failure Chrysostomos Nanakos
2014-09-16  9:06 ` Chrysostomos Nanakos
2014-09-16 13:53   ` Benoît Canet
2014-09-16 13:57     ` Paolo Bonzini
2014-09-16 15:43       ` Chrysostomos Nanakos
2014-09-16 15:45         ` Paolo Bonzini
2014-09-16 15:50           ` Chrysostomos Nanakos
2014-09-16 17:58             ` Chrysostomos Nanakos

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).