From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:60028) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QvUkV-0002jl-3S for qemu-devel@nongnu.org; Mon, 22 Aug 2011 09:41:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QvUkU-0005w4-2U for qemu-devel@nongnu.org; Mon, 22 Aug 2011 09:41:07 -0400 Received: from mx1.redhat.com ([209.132.183.28]:2417) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QvUkT-0005vg-Rl for qemu-devel@nongnu.org; Mon, 22 Aug 2011 09:41:06 -0400 Message-ID: <4E525C5A.8000208@redhat.com> Date: Mon, 22 Aug 2011 15:40:42 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1314018774-27482-1-git-send-email-aliguori@us.ibm.com> <1314018774-27482-2-git-send-email-aliguori@us.ibm.com> In-Reply-To: <1314018774-27482-2-git-send-email-aliguori@us.ibm.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 2/2] main: switch qemu_set_fd_handler to g_io_add_watch List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Blue Swirl , qemu-devel@nongnu.org On 08/22/2011 03:12 PM, Anthony Liguori wrote: > I'm pretty sure that this will work on Win32, but I would appreciate some help > testing. I think the semantics of g_io_channel_unix_new() are really just tied > to the notion of a "unix fd" and not necessarily unix itself. Almost: in Win32 you need to use g_io_channel_win32_new_socket. But indeed on Windows you can only use qemu_set_fd_handler for sockets too. Paolo