projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d58d7e8
)
ivshmem: remove last exit(1)
author
Marc-André Lureau
<marcandre.lureau@redhat.com>
Mon, 22 Jun 2015 10:55:16 +0000
(12:55 +0200)
committer
Marc-André Lureau
<marcandre.lureau@redhat.com>
Sat, 24 Oct 2015 16:02:48 +0000
(18:02 +0200)
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>
hw/misc/ivshmem.c
patch
|
blob
|
history
diff --git
a/hw/misc/ivshmem.c
b/hw/misc/ivshmem.c
index 62547c09fcd7ed37b6cfec495a948e7dc1bfe9c2..e7224b9528e32441712936f7c830e4e8ab660baf 100644
(file)
--- 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);