Statistics
| Branch: | Revision:

root / iohandler.c @ c2162a8b

History | View | Annotate | Download (6.5 kB)

# Date Author Comment
c82dc29a 09/08/2011 04:06 pm Anthony Liguori

iohandlers: fix issue with qemu_set_fd_handler()

As spotted by Aneesh, some users pass a NULL opaque so we need to be more
aggressive in checking whether a user means to unregister.

Also fix a double free caused by tag not being reset to zero after delete....

4d88a2ac 09/01/2011 09:12 pm Anthony Liguori

main: switch qemu_set_fd_handler to g_io_add_watch

This patch changes qemu_set_fd_handler to be implemented in terms of
g_io_add_watch(). The semantics are a bit different so some glue is required.

qemu_set_fd_handler2 is much harder to convert because of its use of polling....

7267c094 08/21/2011 07:01 am Anthony Liguori

Use glib memory allocation and free functions

qemu_malloc/qemu_free no longer exist after this commit.

Signed-off-by: Anthony Liguori <>

4d54ec78 03/29/2011 04:14 pm Paolo Bonzini

add a service to reap zombies, use it in SLIRP

SLIRP -smb support wants to fork a process and forget about reaping it.
To please it, add a generic service to register a process id and let
QEMU reap it. In the future it could be enhanced to pass a status,...

02981419 03/29/2011 04:14 pm Paolo Bonzini

extract I/O handler lists to iohandler.c

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Anthony Liguori <>