From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:42570) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UG6Iq-0008WR-P9 for qemu-devel@nongnu.org; Thu, 14 Mar 2013 07:26:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UG6Io-00008m-CW for qemu-devel@nongnu.org; Thu, 14 Mar 2013 07:26:32 -0400 Received: from mail-lb0-f178.google.com ([209.85.217.178]:45641) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UG6Io-00008e-54 for qemu-devel@nongnu.org; Thu, 14 Mar 2013 07:26:30 -0400 Received: by mail-lb0-f178.google.com with SMTP id n1so1748067lba.23 for ; Thu, 14 Mar 2013 04:26:29 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <5141AEAD.2030102@redhat.com> References: <1363154346-14827-1-git-send-email-qemulist@gmail.com> <51405BEA.6080109@redhat.com> <87hakfiild.fsf@codemonkey.ws> <5141AC1F.3030203@redhat.com> <5141AEAD.2030102@redhat.com> From: Peter Maydell Date: Thu, 14 Mar 2013 11:26:08 +0000 Message-ID: Content-Type: text/plain; charset=UTF-8 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: Paolo Bonzini Cc: mdroth , "Michael S. Tsirkin" , Stefan Hajnoczi , qemu-devel@nongnu.org, Liu Ping Fan , Anthony Liguori On 14 March 2013 11:04, Paolo Bonzini wrote: >>> > 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. Nope, we still go ucontext -> gthread (and for platforms which don't support ucontext we'll go straight to gthread). I think we should probably be ucontext -> sigaltstack. The configure code for this is a bit dodgy anyway (for instance there are paths through it that can end up not setting coroutine_backend at all). I'll submit a patch to tidy it up and not have gthread as our fallback. -- PMM