coroutine: remove incorrect coroutine_fn annotations
commita248b856a8a9683fa03bbb6e1d684a9c67d92791
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 22 Sep 2022 08:49:03 +0000 (22 10:49 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 7 Oct 2022 10:11:40 +0000 (7 12:11 +0200)
tree15460fd04b300c2d46d29e03235d38905c6528ee
parent9fb26291acf9806e5b1211db2315e1d4140cfe40
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>
include/qemu/coroutine.h
util/qemu-coroutine.c