diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2017-02-13 14:52:21 +0100 |
|---|---|---|
| committer | Stefan Hajnoczi <stefanha@redhat.com> | 2017-02-21 11:14:07 +0000 |
| commit | 934ebf48c0e81dd1f3febb53ae9b8eb8f2a12aab (patch) | |
| tree | 5dbe92ef1781d4df4b17630cd26a07d19a28031f /util/qemu-coroutine-lock.c | |
| parent | 35f106e68464d4ed9f2059a93f5c2ecd0750c05b (diff) | |
| download | focaccia-qemu-934ebf48c0e81dd1f3febb53ae9b8eb8f2a12aab.tar.gz focaccia-qemu-934ebf48c0e81dd1f3febb53ae9b8eb8f2a12aab.zip | |
test-thread-pool: use generic AioContext infrastructure
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. Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Fam Zheng <famz@redhat.com> Message-id: 20170213135235.12274-5-pbonzini@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'util/qemu-coroutine-lock.c')
0 files changed, 0 insertions, 0 deletions