Re: [Qemu-devel] [PATCH] qemu-char: use qemu_set_fd_handler/2 consistently

2011-09-23 Thread Anthony Liguori
On 09/16/2011 04:19 PM, Marcelo Tosatti wrote: Now that qemu_set_fd_handler and qemu_set_fd_handler2 have different implementations, one using qemu iohandlers and the other glib, it is not safe to mix the two when inserting/deleting handlers. Fixes kvm-autotest. Signed-off-by: Marcelo Tosatti

[Qemu-devel] [PATCH] qemu-char: use qemu_set_fd_handler/2 consistently

2011-09-16 Thread Marcelo Tosatti
Now that qemu_set_fd_handler and qemu_set_fd_handler2 have different implementations, one using qemu iohandlers and the other glib, it is not safe to mix the two when inserting/deleting handlers. Fixes kvm-autotest. Signed-off-by: Marcelo Tosatti diff --git a/qemu-char.c b/qemu-char.c index c9