[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [COMMIT 05244fd] Fix qemu_event_init
From: |
Anthony Liguori |
Subject: |
[Qemu-commits] [COMMIT 05244fd] Fix qemu_event_init |
Date: |
Wed, 29 Apr 2009 18:43:48 -0000 |
From: Jan Kiszka <address@hidden>
Falling through to "fail" made qemu_event_init() close the pipe fds
immediately again, breaking timer event notification.
Signed-off-by: Jan Kiszka <address@hidden>
diff --git a/vl.c b/vl.c
index a210b6c..ac4b32f 100644
--- a/vl.c
+++ b/vl.c
@@ -3713,6 +3713,8 @@ static int qemu_event_init(void)
(void *)(unsigned long)fds[0]);
io_thread_fd = fds[1];
+ return 0;
+
fail:
close(fds[0]);
close(fds[1]);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [COMMIT 05244fd] Fix qemu_event_init,
Anthony Liguori <=