aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2022-09-22 10:49:03 +0200
committerKevin Wolf <kwolf@redhat.com>2022-10-07 12:11:40 +0200
commita248b856a8a9683fa03bbb6e1d684a9c67d92791 (patch)
tree15460fd04b300c2d46d29e03235d38905c6528ee /include
parent9fb26291acf9806e5b1211db2315e1d4140cfe40 (diff)
downloadqemu-a248b856a8a9683fa03bbb6e1d684a9c67d92791.zip
qemu-a248b856a8a9683fa03bbb6e1d684a9c67d92791.tar.gz
qemu-a248b856a8a9683fa03bbb6e1d684a9c67d92791.tar.bz2
coroutine: remove incorrect coroutine_fn annotations
qemu_coroutine_get_aio_context inspects a coroutine, but it does not have to be called from the coroutine itself (or from any coroutine). Reviewed-by: Alberto Faria <afaria@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20220922084924.201610-6-pbonzini@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/qemu/coroutine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/qemu/coroutine.h b/include/qemu/coroutine.h
index 414b677..aae33cc 100644
--- a/include/qemu/coroutine.h
+++ b/include/qemu/coroutine.h
@@ -92,7 +92,7 @@ void coroutine_fn qemu_coroutine_yield(void);
/**
* Get the AioContext of the given coroutine
*/
-AioContext *coroutine_fn qemu_coroutine_get_aio_context(Coroutine *co);
+AioContext *qemu_coroutine_get_aio_context(Coroutine *co);
/**
* Get the currently executing coroutine