[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v4 10/47] ivshmem: remove last exit(1)
From: |
marcandre . lureau |
Subject: |
[Qemu-devel] [PATCH v4 10/47] ivshmem: remove last exit(1) |
Date: |
Thu, 24 Sep 2015 13:37:12 +0200 |
From: Marc-André Lureau <address@hidden>
Failing to create a chardev shouldn't be fatal.
Signed-off-by: Marc-André Lureau <address@hidden>
---
hw/misc/ivshmem.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/misc/ivshmem.c b/hw/misc/ivshmem.c
index 62547c0..e7224b9 100644
--- a/hw/misc/ivshmem.c
+++ b/hw/misc/ivshmem.c
@@ -299,7 +299,7 @@ static CharDriverState* create_eventfd_chr_device(void *
opaque, EventNotifier *
if (chr == NULL) {
error_report("creating eventfd for eventfd %d failed", eventfd);
- exit(1);
+ return NULL;
}
qemu_chr_fe_claim_no_fail(chr);
--
2.4.3
- [Qemu-devel] [PATCH v4 00/47] ivshmem improvements, marcandre . lureau, 2015/09/24
- [Qemu-devel] [PATCH v4 01/47] char: add qemu_chr_free(), marcandre . lureau, 2015/09/24
- [Qemu-devel] [PATCH v4 02/47] msix: add VMSTATE_MSIX_TEST, marcandre . lureau, 2015/09/24
- [Qemu-devel] [PATCH v4 03/47] ivhsmem: read do not accept more than sizeof(long), marcandre . lureau, 2015/09/24
- [Qemu-devel] [PATCH v4 05/47] ivshmem: factor out the incoming fifo handling, marcandre . lureau, 2015/09/24
- [Qemu-devel] [PATCH v4 04/47] ivshmem: fix number of bytes to push to fifo, marcandre . lureau, 2015/09/24
- [Qemu-devel] [PATCH v4 06/47] ivshmem: remove unnecessary dup(), marcandre . lureau, 2015/09/24
- [Qemu-devel] [PATCH v4 07/47] ivshmem: remove superflous ivshmem_attr field, marcandre . lureau, 2015/09/24
- [Qemu-devel] [PATCH v4 08/47] ivshmem: remove useless doorbell field, marcandre . lureau, 2015/09/24
- [Qemu-devel] [PATCH v4 10/47] ivshmem: remove last exit(1),
marcandre . lureau <=
- [Qemu-devel] [PATCH v4 09/47] ivshmem: more qdev conversion, marcandre . lureau, 2015/09/24
- [Qemu-devel] [PATCH v4 11/47] ivshmem: limit maximum number of peers to G_MAXUINT16, marcandre . lureau, 2015/09/24
- [Qemu-devel] [PATCH v4 12/47] ivshmem: simplify around increase_dynamic_storage(), marcandre . lureau, 2015/09/24
- [Qemu-devel] [PATCH v4 14/47] ivshmem: remove useless ivshmem_update_irq() val argument, marcandre . lureau, 2015/09/24
- [Qemu-devel] [PATCH v4 13/47] ivshmem: allocate eventfds in resize_peers(), marcandre . lureau, 2015/09/24
- [Qemu-devel] [PATCH v4 16/47] ivshmem: remove max_peer field, marcandre . lureau, 2015/09/24
- [Qemu-devel] [PATCH v4 15/47] ivshmem: initialize max_peer to -1, marcandre . lureau, 2015/09/24
- [Qemu-devel] [PATCH v4 17/47] ivshmem: improve debug messages, marcandre . lureau, 2015/09/24
- [Qemu-devel] [PATCH v4 18/47] ivshmem: improve error handling, marcandre . lureau, 2015/09/24
- [Qemu-devel] [PATCH v4 19/47] ivshmem: print error on invalid peer id, marcandre . lureau, 2015/09/24