diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2015-06-22 12:55:16 +0200 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2015-10-24 18:02:48 +0200 |
commit | 03977ad552874f6598a8f0ef3089e6846ba01a2b (patch) | |
tree | a690de7b3e4f0f9a9e611ce9d3ad12968d04e279 | |
parent | d58d7e848ec6d5bcd19634212d58dec5f1efbdb8 (diff) |
ivshmem: remove last exit(1)
Failing to create a chardev shouldn't be fatal.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Claudio Fontana <claudio.fontana@huawei.com>
-rw-r--r-- | hw/misc/ivshmem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/ivshmem.c b/hw/misc/ivshmem.c index 62547c09fc..e7224b9528 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); |