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:
Marc-André Lureau 2015-06-22 12:55:16 +02:00
parent d58d7e848e
commit 03977ad552
1 changed files with 1 additions and 1 deletions

View File

@ -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);