coroutine: make pool size dynamic
commitac2662a913ee5854b1269256adbdc14e57ba480a
authorStefan Hajnoczi <stefanha@redhat.com>
Mon, 7 Jul 2014 13:15:52 +0000 (7 15:15 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 15 Aug 2014 13:07:14 +0000 (15 15:07 +0200)
tree58946f4d817de43cbc5711b6c3b0095ef4f7dade
parent746ebfa77aa7a9550d11d3e7c8c10ecb8393ec76
coroutine: make pool size dynamic

Allow coroutine users to adjust the pool size.  For example, if the
guest has multiple emulated disk drives we should keep around more
coroutines.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
include/block/coroutine.h
qemu-coroutine.c