job: 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. Reviewed-by: Alberto Faria <afaria@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20220922084924.201610-22-pbonzini@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
b4df990377
commit
06753a0750
@ -436,7 +436,7 @@ void coroutine_fn job_pause_point(Job *job);
|
||||
*
|
||||
* Yield the job coroutine.
|
||||
*/
|
||||
void job_yield(Job *job);
|
||||
void coroutine_fn job_yield(Job *job);
|
||||
|
||||
/**
|
||||
* @job: The job that calls the function.
|
||||
|
Loading…
Reference in New Issue
Block a user