qemu/migration
Paolo Bonzini 394b9407e4 migration: mark mixed functions that can suspend
There should be no paths from a coroutine_fn to aio_poll, however in
practice coroutine_mixed_fn will call aio_poll in the !qemu_in_coroutine()
path.  By marking mixed functions, we can track accurately the call paths
that execute entirely in coroutine context, and find more missing
coroutine_fn markers.  This results in more accurate checks that
coroutine code does not end up blocking.

If the marking were extended transitively to all functions that call
these ones, static analysis could be done much more efficiently.
However, this is a start and makes it possible to use vrc's path-based
searches to find potential bugs where coroutine_fns call blocking functions.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2023-04-20 11:17:35 +02:00
..
block-dirty-bitmap.c migration: Rename res_{postcopy,precopy}_only 2023-02-15 20:04:30 +01:00
block.c migration/block: replace uses of blk_nb_sectors that do not check result 2023-04-11 16:40:53 +02:00
block.h
channel-block.c
channel-block.h
channel.c
channel.h
colo-failover.c migration/colo: Improve an x-colo-lost-heartbeat error message 2023-02-23 14:10:17 +01:00
colo.c error: Drop superfluous #include "qapi/qmp/qerror.h" 2023-02-23 13:56:14 +01:00
dirtyrate.c *: Add missing includes of qemu/error-report.h 2023-03-22 15:06:57 +00:00
dirtyrate.h
exec.c *: Add missing includes of qemu/error-report.h 2023-03-22 15:06:57 +00:00
exec.h
fd.c
fd.h
global_state.c
meson.build
migration-hmp-cmds.c error: Drop superfluous #include "qapi/qmp/qerror.h" 2023-02-23 13:56:14 +01:00
migration.c migration: Recover behavior of preempt channel creation for pre-7.2 2023-04-12 21:44:56 +02:00
migration.h migration: Recover behavior of preempt channel creation for pre-7.2 2023-04-12 21:44:56 +02:00
multifd-zlib.c
multifd-zstd.c
multifd.c migration/multifd: correct multifd_send_thread to trace the flags 2023-03-16 16:07:07 +01:00
multifd.h migration/multifd: Move load_cleanup inside incoming_state_destroy 2023-02-13 03:45:40 +01:00
page_cache.c
page_cache.h
postcopy-ram.c migration: Recover behavior of preempt channel creation for pre-7.2 2023-04-12 21:44:56 +02:00
postcopy-ram.h migration: Postpone postcopy preempt channel to be after main 2023-02-11 16:51:09 +01:00
qemu-file.c migration: mark mixed functions that can suspend 2023-04-20 11:17:35 +02:00
qemu-file.h migration: mark mixed functions that can suspend 2023-04-20 11:17:35 +02:00
ram.c migration: fix ram_state_pending_exact() 2023-04-12 22:47:50 +02:00
ram.h
rdma.c migration/rdma: Remove deprecated variable rdma_return_path 2023-03-16 16:07:07 +01:00
rdma.h
savevm.c migration: Rename res_{postcopy,precopy}_only 2023-02-15 20:04:30 +01:00
savevm.h migration: Rename res_{postcopy,precopy}_only 2023-02-15 20:04:30 +01:00
socket.c
socket.h
target.c migration: fix populate_vfio_info 2023-03-16 16:07:07 +01:00
threadinfo.c
threadinfo.h
tls.c
tls.h
trace-events migration: Remove unused res_compatible 2023-02-15 20:04:30 +01:00
trace.h
vmstate-types.c
vmstate.c
xbzrle.c migration/xbzrle: fix out-of-bounds write with axv512 2023-03-16 16:07:07 +01:00
xbzrle.h AVX512 support for xbzrle_encode_buffer 2023-02-11 16:51:09 +01:00
yank_functions.c
yank_functions.h