From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:49973) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R1DBS-0001rL-CG for qemu-devel@nongnu.org; Wed, 07 Sep 2011 04:08:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R1DBR-0008Tg-8Y for qemu-devel@nongnu.org; Wed, 07 Sep 2011 04:08:34 -0400 Received: from david.siemens.de ([192.35.17.14]:19917) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R1DBQ-0008TX-SG for qemu-devel@nongnu.org; Wed, 07 Sep 2011 04:08:33 -0400 Message-ID: <4E67267D.4070500@siemens.com> Date: Wed, 07 Sep 2011 10:08:29 +0200 From: Jan Kiszka 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 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 , Anthony Liguori , qemu-devel@nongnu.org On 2011-09-07 09:03, 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. The latter can surely be improved, just takes someone to put on some gloves and dig in the dirt... Jan -- Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux