qemu-e2k/hw/9pfs
Greg Kurz 4b3a4f2d45 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.

Fixes: ebac1202c9
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Tested-by: Michael Tokarev <mjt@tls.msk.ru>
Cc: qemu-stable@nongnu.org
Signed-off-by: Greg Kurz <gkurz@linux.vnet.ibm.com>
2015-12-23 10:56:58 +01:00
..
codir.c coroutine: move into libqemuutil.a library 2015-10-20 14:59:04 +01:00
cofile.c coroutine: move into libqemuutil.a library 2015-10-20 14:59:04 +01:00
cofs.c coroutine: move into libqemuutil.a library 2015-10-20 14:59:04 +01:00
coxattr.c coroutine: move into libqemuutil.a library 2015-10-20 14:59:04 +01:00
Makefile.objs
virtio-9p-coth.c virtio-9p: use accessor to get thread_pool 2015-12-23 10:56:58 +01:00
virtio-9p-coth.h virtio-9p: use QEMU thread pool 2015-11-30 12:36:12 +01:00
virtio-9p-device.c virtio-9p-device: add minimal unrealize handler 2015-12-10 10:46:22 +00:00
virtio-9p-handle.c
virtio-9p-local.c
virtio-9p-posix-acl.c
virtio-9p-proxy.c
virtio-9p-proxy.h
virtio-9p-synth.c
virtio-9p-synth.h
virtio-9p-xattr-user.c
virtio-9p-xattr.c
virtio-9p-xattr.h
virtio-9p.c
virtio-9p.h coroutine: move into libqemuutil.a library 2015-10-20 14:59:04 +01:00