Re: [libvirt] [PATCH glib v2] Fix event loop implementation on win32

2014-01-28 Thread Christophe Fergeau
ACK On Mon, Jan 27, 2014 at 10:53:09AM +, Daniel P. Berrange wrote: Libvirt uses gnulib for making winsock look like POSIX sockets. This means that in the libvirt event handle callbacks the application will be given a file descriptor rather than a winsock HANDLE object. The

[libvirt] [PATCH glib v2] Fix event loop implementation on win32

2014-01-27 Thread Daniel P. Berrange
Libvirt uses gnulib for making winsock look like POSIX sockets. This means that in the libvirt event handle callbacks the application will be given a file descriptor rather than a winsock HANDLE object. The g_io_channel_unix_new method will detect that it is an FD and delegate to the