qemu/include
Stefan Hajnoczi 652b0dd808 block: remove AIOCBInfo->get_aio_context()
The synchronous bdrv_aio_cancel() function needs the acb's AioContext so
it can call aio_poll() to wait for cancellation.

It turns out that all users run under the BQL in the main AioContext, so
this callback is not needed.

Remove the callback, mark bdrv_aio_cancel() GLOBAL_STATE_CODE just like
its blk_aio_cancel() caller, and poll the main loop AioContext.

The purpose of this cleanup is to identify bdrv_aio_cancel() as an API
that does not work with the multi-queue block layer.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-ID: <20230912231037.826804-2-stefanha@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Klaus Jensen <k.jensen@samsung.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2023-09-20 17:46:01 +02:00
..
authz
block block: remove AIOCBInfo->get_aio_context() 2023-09-20 17:46:01 +02:00
chardev include/: spelling fixes 2023-09-08 13:08:52 +03:00
crypto crypto: Add generic 64-bit carry-less multiply routine 2023-09-15 13:57:00 +00:00
disas
exec Hi, 2023-09-19 13:22:19 -04:00
fpu fpu: Add conversions between bfloat16 and [u]int8 2023-09-16 14:57:15 +00:00
gdbstub
hw Hi, 2023-09-19 13:22:19 -04:00
io
libdecnumber
migration vfio queue: 2023-09-11 09:13:08 -04:00
monitor
net tap: Add check for USO features 2023-09-18 14:36:13 +08:00
qapi
qemu *: Delete checks for old host definitions 2023-09-19 13:20:54 -04:00
qom
scsi
semihosting
standard-headers linux-headers: Update to Linux v6.6-rc1 2023-09-12 11:34:56 +02:00
sysemu block: Mark bdrv_parent_perms_conflict() and callers GRAPH_RDLOCK 2023-09-20 17:46:01 +02:00
tcg tcg: Add gvec compare with immediate and scalar operand 2023-09-16 14:57:15 +00:00
ui ui: add precondition for dpy_get_ui_info() 2023-09-12 11:14:09 +04:00
user
elf.h
glib-compat.h
qemu-io.h
qemu-main.h