diff options
| author | Paolo Bonzini | 2017-02-13 14:52:21 +0100 |
|---|---|---|
| committer | Stefan Hajnoczi | 2017-02-21 12:14:07 +0100 |
| commit | 934ebf48c0e81dd1f3febb53ae9b8eb8f2a12aab (patch) | |
| tree | 5dbe92ef1781d4df4b17630cd26a07d19a28031f /scripts/modules | |
| parent | block-backend: allow blk_prw from coroutine context (diff) | |
| download | qemu-934ebf48c0e81dd1f3febb53ae9b8eb8f2a12aab.tar.gz qemu-934ebf48c0e81dd1f3febb53ae9b8eb8f2a12aab.tar.xz 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 'scripts/modules')
0 files changed, 0 insertions, 0 deletions
