[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2] async: aio_context_new(): Handle event_notifier_
From: |
Chrysostomos Nanakos |
Subject: |
[Qemu-devel] [PATCH v2] async: aio_context_new(): Handle event_notifier_init failure |
Date: |
Tue, 16 Sep 2014 12:06:33 +0300 |
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
- [Qemu-devel] [PATCH v2] async: aio_context_new(): Handle event_notifier_init failure,
Chrysostomos Nanakos <=
- [Qemu-devel] [PATCH v2] async: aio_context_new(): Handle event_notifier_init failure, Chrysostomos Nanakos, 2014/09/16
- Re: [Qemu-devel] [PATCH v2] async: aio_context_new(): Handle event_notifier_init failure, BenoƮt Canet, 2014/09/16
- Re: [Qemu-devel] [PATCH v2] async: aio_context_new(): Handle event_notifier_init failure, Paolo Bonzini, 2014/09/16
- Re: [Qemu-devel] [PATCH v2] async: aio_context_new(): Handle event_notifier_init failure, Chrysostomos Nanakos, 2014/09/16
- Re: [Qemu-devel] [PATCH v2] async: aio_context_new(): Handle event_notifier_init failure, Paolo Bonzini, 2014/09/16
- Re: [Qemu-devel] [PATCH v2] async: aio_context_new(): Handle event_notifier_init failure, Chrysostomos Nanakos, 2014/09/16
- Re: [Qemu-devel] [PATCH v2] async: aio_context_new(): Handle event_notifier_init failure, Chrysostomos Nanakos, 2014/09/16