mirror of https://github.com/xemu-project/xemu.git
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>
This commit is contained in:
parent
d58d7e848e
commit
03977ad552
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue