On Fri, Jan 13, 2017 at 02:17:18PM +0100, Paolo Bonzini wrote: > Once the thread pool starts using aio_co_wake, it will also need > qemu_get_current_aio_context(). Make test-thread-pool create > an AioContext with qemu_init_main_loop, so that stubs/iothread.c > and tests/iothread.c can provide the rest. > > Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> > --- > tests/test-thread-pool.c | 12 +++--------- > 1 file changed, 3 insertions(+), 9 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>
signature.asc
Description: PGP signature