qemu-cr16/include
Max Reitz 43eaaaef0e block: Only the main loop can change AioContexts
bdrv_set_aio_context_ignore() can only work in the main loop:
bdrv_drained_begin() only works in the main loop and the node's (old)
AioContext; and bdrv_drained_end() really only works in the main loop
and the node's (new) AioContext (contrary to its current comment, which
is just wrong).

Consequentially, bdrv_set_aio_context_ignore() must be called from the
main loop.  Luckily, assuming that we can make block graph changes only
from the main loop as well, all its callers do that already.

Note that changing a node's context in a sense is an operation that
changes the block graph, so it actually makes sense to require this
function to be called from the main loop.

Also, fix bdrv_drained_end()'s description.  You can only use it from
the main loop or the node's AioContext, and in the latter case, the
whole subtree must be in the same context.

Fixes: e037c09c78
Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-id: 20190722133054.21781-3-mreitz@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
2019-07-22 18:41:43 +02:00
..
authz
block block: Only the main loop can change AioContexts 2019-07-22 18:41:43 +02:00
chardev
crypto crypto: Fix LGPL information in the file headers 2019-07-19 14:21:25 +01:00
disas
exec linux-user: check valid address in access_ok() 2019-07-18 13:57:28 +02:00
fpu
hw target-arm queue: 2019-07-22 15:16:48 +01:00
io
libdecnumber
migration
monitor
net
qapi
qemu bitmap: Add bitmap_copy_with_{src|dst}_offset() 2019-07-15 15:39:02 +02:00
qom
scsi scsi: explicitly list guest-recoverable sense codes 2019-07-15 11:20:42 +02:00
standard-headers virtio-pmem: sync linux headers 2019-07-04 17:00:32 -04:00
sysemu hmp: Print if memory section is registered with an accelerator 2019-07-19 19:04:49 +02:00
ui
elf.h
glib-compat.h
qemu-common.h
qemu-io.h
trace-tcg.h