mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
migration: add missing coroutine_fn annotations
Callers of coroutine_fn must be coroutine_fn themselves, or the call must be within "if (qemu_in_coroutine())". Apply coroutine_fn to functions where this holds. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Alberto Faria <afaria@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20220922084924.201610-26-pbonzini@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
9204028dbb
commit
38e8f9af08
1 changed files with 2 additions and 1 deletions
|
@ -574,7 +574,8 @@ static void process_incoming_migration_bh(void *opaque)
|
|||
migration_incoming_state_destroy();
|
||||
}
|
||||
|
||||
static void process_incoming_migration_co(void *opaque)
|
||||
static void coroutine_fn
|
||||
process_incoming_migration_co(void *opaque)
|
||||
{
|
||||
MigrationIncomingState *mis = migration_incoming_get_current();
|
||||
PostcopyState ps;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue