qemu-e2k/include/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
..
blocker.h migration: Add migrate_add_blocker_internal() 2021-11-01 22:56:44 +01:00
colo.h Fixed a QEMU hang when guest poweroff in COLO mode 2021-12-15 10:31:42 +01:00
cpu.h
failover.h
global_state.h
misc.h migration/ram: Factor out check for advised postcopy 2023-02-06 19:22:56 +01:00
qemu-file-types.h migration: mark mixed functions that can suspend 2023-04-20 11:17:35 +02:00
register.h migration: Rename res_{postcopy,precopy}_only 2023-02-15 20:04:30 +01:00
snapshot.h
vmstate.h migration: Add canary to VMSTATE_END_OF_LIST 2023-02-06 19:22:56 +01:00