diff options
author | Jan Kiszka <jan.kiszka@web.de> | 2009-04-29 18:38:28 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2009-04-29 18:38:28 +0000 |
commit | a7e21219b0ec6991aa90c18cfde4d6890710bf6d (patch) | |
tree | 05244fdabea8812f7fa848b6f1f36662c278f0c6 /vl.c | |
parent | 2d3eb7bfd9f91f17a22dc6d75bdb8eec25937a55 (diff) | |
download | qemu-a7e21219b0ec6991aa90c18cfde4d6890710bf6d.zip qemu-a7e21219b0ec6991aa90c18cfde4d6890710bf6d.tar.gz qemu-a7e21219b0ec6991aa90c18cfde4d6890710bf6d.tar.bz2 |
Fix qemu_event_init
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>
Diffstat (limited to 'vl.c')
-rw-r--r-- | vl.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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]); |