9p fix
The following changes since commit 5dc42c186d63b7b338594fc071cf290805dcc5a5:
Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into staging (2015-12-22 14:21:42 +0000)
are available in the git repository at:
https://github.com/gkurz/qemu.git tags/for-upstream
for you to fetch changes up to 4b3a4f2d458ca5a7c6c16ac36a8d9ac22cc253d6:
virtio-9p: use accessor to get thread_pool (2015-12-23 10:56:58 +0100)
----------------------------------------------------------------
Fix a 2.5 regression.
----------------------------------------------------------------
Greg Kurz (1):
virtio-9p: use accessor to get thread_pool
hw/9pfs/virtio-9p-coth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
2.4.3
[Qemu-devel] [PULL] virtio-9p: use accessor to get thread_pool
The aio_context_new() function does not allocate a thread pool. This is deferred to the first call to the aio_get_thread_pool() accessor. It is hence forbidden to access the thread_pool field directly, as it may be NULL. The accessor *must* be used always.
--- hw/9pfs/virtio-9p-coth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hw/9pfs/virtio-9p-coth.c +1 -1
@@ -36,6 +36,6 @@ static int coroutine_enter_func(void *arg)void co_run_in_worker_bh (void *opaque) {Coroutine *co = opaque; -thread_pool_submit_aio (qemu_get_aio_context ()->thread_pool, +thread_pool_submit_aio (aio_get_thread_pool (qemu_get_aio_context ()), coroutine_enter_func, co, coroutine_enter_cb, co); }
Signature · 1 line
2.4.3
Peter Maydell
AppliedQuoted 10 lines · Greg Kurz
The following changes since commit
5dc42c186d63b7b338594fc071cf290805dcc5a5:Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into staging (2015-12-22 14:21:42 +0000)
are available in the git repository at:
https://github.com/gkurz/qemu.git tags/for-upstream
for you to fetch changes up to
4b3a4f2d458ca5a7c6c16ac36a8d9ac22cc253d6:
Quoted 9 lines
virtio-9p: use accessor to get
thread_pool(2015-12-23 10:56:58 +0100)----------------------------------------------------------------
Fix a 2.5 regression.----------------------------------------------------------------
Greg Kurz (1):
virtio-9p: use accessor to getthread_pool
Applied, thanks.
-- PMM