Re: [Qemu-devel] [PATCH 0/3] New sigaltstack method for coroutine

2012-02-14 Thread Stefan Hajnoczi
On Tue, Feb 14, 2012 at 1:12 PM, Alex Barcelo wrote: > On Tue, Feb 14, 2012 at 13:17, Stefan Hajnoczi wrote: >> On Tue, Feb 14, 2012 at 11:38 AM, Alex Barcelo wrote: >>> On Tue, Feb 14, 2012 at 09:33, Stefan Hajnoczi wrote: On Mon, Feb 13, 2012 at 04:11:15PM +0100, Alex Barcelo wrote:

Re: [Qemu-devel] [PATCH 0/3] New sigaltstack method for coroutine

2012-02-14 Thread Alex Barcelo
On Tue, Feb 14, 2012 at 13:17, Stefan Hajnoczi wrote: > On Tue, Feb 14, 2012 at 11:38 AM, Alex Barcelo wrote: >> On Tue, Feb 14, 2012 at 09:33, Stefan Hajnoczi wrote: >>> On Mon, Feb 13, 2012 at 04:11:15PM +0100, Alex Barcelo wrote: This new implementation... well, it seems to work (I have

Re: [Qemu-devel] [PATCH 0/3] New sigaltstack method for coroutine

2012-02-14 Thread Paul Brook
> This series of patches implements coroutines method with > sigaltstack. > > The flow of creation and management of the coroutines is > quite similar to the coroutine-ucontext.c. The way to use > sigaltstack to achieve the needed stack manipulation is > done in a way quite similar to the GNU Port

Re: [Qemu-devel] [PATCH 0/3] New sigaltstack method for coroutine

2012-02-14 Thread Stefan Hajnoczi
On Tue, Feb 14, 2012 at 11:38 AM, Alex Barcelo wrote: > On Tue, Feb 14, 2012 at 09:33, Stefan Hajnoczi wrote: >> On Mon, Feb 13, 2012 at 04:11:15PM +0100, Alex Barcelo wrote: >>> This new implementation... well, it seems to work (I have done an >>> ubuntu installation with a cdrom and a qcow driv

Re: [Qemu-devel] [PATCH 0/3] New sigaltstack method for coroutine

2012-02-14 Thread Alex Barcelo
On Tue, Feb 14, 2012 at 09:33, Stefan Hajnoczi wrote: > On Mon, Feb 13, 2012 at 04:11:15PM +0100, Alex Barcelo wrote: >> This new implementation... well, it seems to work (I have done an >> ubuntu installation with a cdrom and a qcow drive, which seems to use >> quite a lot of coroutines). Of cour

Re: [Qemu-devel] [PATCH 0/3] New sigaltstack method for coroutine

2012-02-14 Thread Stefan Hajnoczi
On Mon, Feb 13, 2012 at 04:11:15PM +0100, Alex Barcelo wrote: > On Mon, Feb 13, 2012 at 15:51, Peter Maydell wrote: > > On 13 February 2012 14:42, Alex Barcelo wrote: > >> This series of patches implements coroutines method with > >> sigaltstack. > >> > >> The flow of creation and management of t

Re: [Qemu-devel] [PATCH 0/3] New sigaltstack method for coroutine

2012-02-13 Thread Alex Barcelo
On Mon, Feb 13, 2012 at 15:51, Peter Maydell wrote: > On 13 February 2012 14:42, Alex Barcelo wrote: >> This series of patches implements coroutines method with >> sigaltstack. >> >> The flow of creation and management of the coroutines is >> quite similar to the coroutine-ucontext.c. The way to

Re: [Qemu-devel] [PATCH 0/3] New sigaltstack method for coroutine

2012-02-13 Thread Peter Maydell
On 13 February 2012 14:42, Alex Barcelo wrote: > This series of patches implements coroutines method with > sigaltstack. > > The flow of creation and management of the coroutines is > quite similar to the coroutine-ucontext.c. The way to use > sigaltstack to achieve the needed stack manipulation i

[Qemu-devel] [PATCH 0/3] New sigaltstack method for coroutine

2012-02-13 Thread Alex Barcelo
This series of patches implements coroutines method with sigaltstack. The flow of creation and management of the coroutines is quite similar to the coroutine-ucontext.c. The way to use sigaltstack to achieve the needed stack manipulation is done in a way quite similar to the GNU Portable Threads (