qemu/stubs
Emanuele Giuseppe Esposito 587d82fae2 async: Register/unregister aiocontext in graph lock list
Add/remove the AioContext in aio_context_list in graph-lock.c when it is
created/destroyed. This allows using the graph locking operations from
this AioContext.

In order to allow linking util/async.c with binaries that don't include
the block layer, introduce stubs for (un)register_aiocontext().

Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20221207131838.239125-5-kwolf@redhat.com>
Reviewed-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2022-12-15 16:07:43 +01:00
..
bdrv-next-monitor-owned.c
blk-commit-all.c
blk-exp-close-all.c
blockdev-close-all-bdrv-states.c
change-state-handler.c
cmos.c
cpu-get-clock.c
cpu-synchronize-state.c
cpus-get-virtual-clock.c
dump.c
error-printf.c
fdset.c
fw_cfg.c
gdbstub.c
get-vm-name.c
graph-lock.c async: Register/unregister aiocontext in graph lock list 2022-12-15 16:07:43 +01:00
icount.c
io_uring.c
iothread-lock-block.c
iothread-lock.c
is-daemonized.c
isa-bus.c
linux-aio.c
meson.build async: Register/unregister aiocontext in graph lock list 2022-12-15 16:07:43 +01:00
migr-blocker.c
module-opts.c
monitor-core.c
monitor.c
pci-bus.c
physmem.c stubs: add qemu_ram_block_from_host() and qemu_ram_get_fd() 2022-10-26 14:56:42 -04:00
qdev.c qapi qdev qom: Elide redundant has_FOO in generated C 2022-12-14 20:05:07 +01:00
qemu-timer-notify-cb.c
qmp-command-available.c
qmp-quit.c
qmp_memory_device.c
qtest.c
ram-block.c
ramfb.c
replay-tools.c
replay.c
runstate-check.c
semihost.c
sysbus.c
target-get-monitor-def.c
target-monitor-defs.c
trace-control.c
usb-dev-stub.c
uuid.c
vfio-user-obj.c
vm-stop.c
vmgenid.c
vmstate.c
win32-kbd-hook.c
xen-hw-stub.c