coroutine: move pooling to common code
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 19 Feb 2013 10:59:09 +0000 (11:59 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 22 Feb 2013 20:21:10 +0000 (21:21 +0100)
commit402397843e20e35d6cb7c80837c7cfdb19ede591
tree763a08ce9cab9e0b442acf24be6f152f5dc9bef4
parent4dc9f9d67dbf5d062d8db188b81cef435f291dd8
coroutine: move pooling to common code

The coroutine pool code is duplicated between the ucontext and
sigaltstack backends, and absent from the win32 backend.  But the
code can be shared easily by moving it to qemu-coroutine.c.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
coroutine-sigaltstack.c
coroutine-ucontext.c
qemu-coroutine.c