projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d3eb7b
)
Fix qemu_event_init
author
Jan Kiszka
<jan.kiszka@web.de>
Wed, 29 Apr 2009 18:38:28 +0000
(18:38 +0000)
committer
Blue Swirl
<blauwirbel@gmail.com>
Wed, 29 Apr 2009 18:38:28 +0000
(18:38 +0000)
Falling through to "fail" made qemu_event_init() close the pipe fds
immediately again, breaking timer event notification.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
vl.c
patch
|
blob
|
history
diff --git
a/vl.c
b/vl.c
index a210b6cdd22a028606ea4afd93c04284e7ecbf7e..ac4b32fdeda68cba1c63190b2c3b7eddb4224fbc 100644
(file)
--- 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]);