OSDN Git Service

coroutine: Drop coroutine_fn annotation from qemu_coroutine_self()
authorAlberto Faria <afaria@redhat.com>
Wed, 5 Oct 2022 17:52:09 +0000 (18:52 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 7 Oct 2022 10:11:40 +0000 (12:11 +0200)
commitef770f8101f6a3f4fb38a4fa693dfe68a0ac6bf2
tree98640138a7f88c23ca0505175b7b049579f490f2
parent34f58df51daf49863077d2b809f08510a20b4d9a
coroutine: Drop coroutine_fn annotation from qemu_coroutine_self()

qemu_coroutine_self() can be called from outside coroutine context,
returning the leader coroutine, and several such invocations currently
exist (mostly in qcow2 tracing calls).

Signed-off-by: Alberto Faria <afaria@redhat.com>
Message-Id: <20221005175209.975797-1-afaria@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
include/qemu/coroutine.h