qemu-patch-raspberry4/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 Remove libhw 2012-10-05 16:07:49 -05:00
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 9pfs: Fix warnings from Sparse 2015-03-19 11:11:55 +03:00
virtio-9p-local.c 9pfs: Fix warnings from Sparse 2015-03-19 11:11:55 +03:00
virtio-9p-posix-acl.c hw/9pfs/virtio-9p-posix-acl: Fix out-of-bounds access 2015-03-13 14:01:24 +05:30
virtio-9p-proxy.c 9pfs: Fix warnings from Sparse 2015-03-19 11:11:55 +03:00
virtio-9p-proxy.h hw/9pfs: Proxy getversion 2012-01-04 20:20:55 +05:30
virtio-9p-synth.c rcu: introduce RCU-enabled QLIST 2015-02-16 17:30:19 +01:00
virtio-9p-synth.h janitor: add guards to headers 2012-12-19 08:31:31 +01:00
virtio-9p-xattr-user.c hw/9pfs: use g_strdup_printf() instead of PATH_MAX limitation 2014-03-04 00:57:57 +05:30
virtio-9p-xattr.c hw/9pfs: use g_strdup_printf() instead of PATH_MAX limitation 2014-03-04 00:57:57 +05:30
virtio-9p-xattr.h hw/9pfs: use g_strdup_printf() instead of PATH_MAX limitation 2014-03-04 00:57:57 +05:30
virtio-9p.c virtio-9p: fix any_layout 2015-07-27 11:24:48 +03:00
virtio-9p.h coroutine: move into libqemuutil.a library 2015-10-20 14:59:04 +01:00