From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:34492) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QK8of-0005HU-LT for qemu-devel@nongnu.org; Wed, 11 May 2011 08:47:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QK8oe-0000wP-N0 for qemu-devel@nongnu.org; Wed, 11 May 2011 08:47:01 -0400 Received: from lo.gmane.org ([80.91.229.12]:53414) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QK8oe-0000wB-HT for qemu-devel@nongnu.org; Wed, 11 May 2011 08:47:00 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QK8oc-0002vV-6A for qemu-devel@nongnu.org; Wed, 11 May 2011 14:46:58 +0200 Received: from 93-34-184-88.ip51.fastwebnet.it ([93.34.184.88]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 11 May 2011 14:46:58 +0200 Received: from pbonzini by 93-34-184-88.ip51.fastwebnet.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 11 May 2011 14:46:58 +0200 From: Paolo Bonzini Date: Wed, 11 May 2011 14:46:41 +0200 Message-ID: References: <1305108925-26048-1-git-send-email-stefanha@linux.vnet.ibm.com> <1305108925-26048-2-git-send-email-stefanha@linux.vnet.ibm.com> <4DCA82E7.7080903@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit In-Reply-To: <4DCA82E7.7080903@us.ibm.com> Subject: Re: [Qemu-devel] [PATCH 1/2] coroutine: introduce coroutines List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On 05/11/2011 02:36 PM, Anthony Liguori wrote: > > So the only Linux host we support is x86?? > > We can't reasonably do this IMHO. If we're going to go this route, we > should at least fall back to setcontext for the sake of portability. That was: diff --git a/coroutine-win32.c b/coroutine-win32.c new file mode 100644 index 0000000..f4521c3 --- /dev/null +++ b/coroutine-win32.c See my reply too. Paolo