From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:37505) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UG5xS-0000vd-G5 for qemu-devel@nongnu.org; Thu, 14 Mar 2013 07:04:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UG5xM-0000zK-WD for qemu-devel@nongnu.org; Thu, 14 Mar 2013 07:04:26 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33239) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UG5xM-0000z8-PS for qemu-devel@nongnu.org; Thu, 14 Mar 2013 07:04:20 -0400 Message-ID: <5141AEAD.2030102@redhat.com> Date: Thu, 14 Mar 2013 12:04:13 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1363154346-14827-1-git-send-email-qemulist@gmail.com> <51405BEA.6080109@redhat.com> <87hakfiild.fsf@codemonkey.ws> <5141AC1F.3030203@redhat.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC PATCH 0/2] port network layer onto glib List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: mdroth , "Michael S. Tsirkin" , Stefan Hajnoczi , qemu-devel@nongnu.org, Liu Ping Fan , Anthony Liguori Il 14/03/2013 12:00, Peter Maydell ha scritto: >>> >> I think coroutines are dreadful and we should really not be moving >>> >> towards greater use of them. They're just really really not portable >>> >> and they don't fit with the C language, and they're a constant source >>> >> of problems.(For instance I have a bug I need to look into where we >>> >> seem to hang using the gthread coroutine backend but not sigaltstack.) >> > >> > The gthread coroutine backend is really more for debugging than anything >> > else. It works for qemu-io/img, but not for QEMU. Good that you >> > actually found proof. :) > If it's not supposed to work we shouldn't let configure default > to it Agreed. I thought it didn't anymore. > (and actually I'd argue we should drop it completely...) I'd do the same, but Kevin said he's using it for debugging qemu-io/img. Paolo