From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:46825) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R1HTV-0006hj-1K for qemu-devel@nongnu.org; Wed, 07 Sep 2011 08:43:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R1HTP-0004xT-Qe for qemu-devel@nongnu.org; Wed, 07 Sep 2011 08:43:29 -0400 Received: from e38.co.us.ibm.com ([32.97.110.159]:34095) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R1HTP-0004t1-LJ for qemu-devel@nongnu.org; Wed, 07 Sep 2011 08:43:23 -0400 Received: from d03relay05.boulder.ibm.com (d03relay05.boulder.ibm.com [9.17.195.107]) by e38.co.us.ibm.com (8.14.4/8.13.1) with ESMTP id p87CZ9EH025992 for ; Wed, 7 Sep 2011 06:35:09 -0600 Received: from d03av01.boulder.ibm.com (d03av01.boulder.ibm.com [9.17.195.167]) by d03relay05.boulder.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id p87CguaT136644 for ; Wed, 7 Sep 2011 06:43:00 -0600 Received: from d03av01.boulder.ibm.com (loopback [127.0.0.1]) by d03av01.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p87CgtrU020561 for ; Wed, 7 Sep 2011 06:42:56 -0600 Message-ID: <4E6766CD.5000807@us.ibm.com> Date: Wed, 07 Sep 2011 07:42:53 -0500 From: Anthony Liguori 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> <4E525C5A.8000208@redhat.com> <4E525D87.8010400@codemonkey.ws> <4E525E09.2000107@redhat.com> <4E662EC3.4070603@redhat.com> <4E66436D.6020507@codemonkey.ws> <4E671732.9080108@redhat.com> In-Reply-To: <4E671732.9080108@redhat.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: Paolo Bonzini Cc: Blue Swirl , qemu-devel@nongnu.org On 09/07/2011 02:03 AM, Paolo Bonzini wrote: > On 09/06/2011 05:59 PM, Anthony Liguori wrote: >> So it should be possible to add a new Source type that just selects on a >> file descriptor and avoid GIOChannels? > > I think you still have the problem that glib on Windows waits for > HANDLEs, not file descriptors. Also, I'm not sure it's worth it though > as long as slirp still does its own fill/poll. So how do we fix this long term? We seem to get away with using fds today and not HANDLEs, do fds on Windows not work the same with poll as they do with select? Regards, Anthony Liguori > > Paolo >