qemu-pmb887x/migration
Marc-André Lureau 0e83d68945 migration/rdma: annotate and simplify wait_comp_channel()
The function calls yield_until_fd_readable() (coroutine_fn) when in
coroutine context, and polls with qemu_poll_ns() otherwise.

Replace the migration-state proxy check with qemu_in_coroutine(),
which directly tests what matters.

Fixes: 2da776db48 ("rdma: core logic")
Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2026-07-27 15:51:03 +04:00
..
block-active.c
block-dirty-bitmap.c migration: Run final save_query_pending at switchover 2026-07-07 07:12:46 +02:00
channel-block.c
channel-block.h
channel.c
channel.h
colo-failover.c
colo-stubs.c
colo.c migration: Fail migration if switchover-ack is requested after switchover decision 2026-07-07 07:12:46 +02:00
cpr-exec.c
cpr-transfer.c
cpr.c
cpu-throttle.c
dirtyrate.c
dirtyrate.h
exec.c
exec.h
fd.c
fd.h
file.c
file.h
global_state.c
meson.build
migration-hmp-cmds.c Migration pull for rc1 2026-07-20 11:12:38 -04:00
migration-stats.c
migration-stats.h
migration.c spelling: happend 2026-07-23 17:57:09 +03:00
migration.h migration: Fix "switchover" used as a verb in comments and docs 2026-07-07 07:12:46 +02:00
multifd-colo.c
multifd-colo.h
multifd-device-state.c
multifd-nocomp.c
multifd-qatzip.c
multifd-qpl.c
multifd-uadk.c
multifd-zero-page.c
multifd-zlib.c
multifd-zstd.c
multifd.c
multifd.h
options.c migration: Enable new switchover-ack 2026-07-07 07:12:46 +02:00
options.h
page_cache.c
page_cache.h
postcopy-ram.c migration: clean up postcopy blocktime presentation 2026-07-17 12:33:42 -04:00
postcopy-ram.h
qemu-file.c migration: fix qemu_get_counted_string annotation 2026-07-27 15:51:03 +04:00
qemu-file.h
ram.c migration: Run final save_query_pending at switchover 2026-07-07 07:12:46 +02:00
ram.h
rdma.c migration/rdma: annotate and simplify wait_comp_channel() 2026-07-27 15:51:03 +04:00
rdma.h
savevm.c migration: Fix "switchover" used as a verb in comments and docs 2026-07-07 07:12:46 +02:00
savevm.h migration: Refactor migration_completion_precopy() to return bool 2026-07-07 07:12:46 +02:00
socket.c
socket.h
tls.c
tls.h
trace-events Migration pull for rc1 2026-07-20 11:12:38 -04:00
trace.h
vfio-stub.c
vfio.c
vmstate-types.c
vmstate.c
xbzrle.c
xbzrle.h
yank_functions.c
yank_functions.h