Re: [PATCH v2 04/26] coroutine: remove incorrect coroutine_fn annotations

2022-07-04 Thread Alberto Faria
On Mon, May 9, 2022 at 11:35 AM Paolo Bonzini wrote: > qemu_coroutine_get_aio_context inspects a coroutine, but it does > not have to be called from the coroutine itself (or from any > coroutine). > > Signed-off-by: Paolo Bonzini > --- > include/qemu/coroutine.h | 2 +- > util/qemu-coroutine.c

Re: [PATCH v2 04/26] coroutine: remove incorrect coroutine_fn annotations

2022-05-10 Thread Eric Blake
On Mon, May 09, 2022 at 12:29:57PM +0200, Paolo Bonzini wrote: > qemu_coroutine_get_aio_context inspects a coroutine, but it does > not have to be called from the coroutine itself (or from any > coroutine). > > Signed-off-by: Paolo Bonzini > --- > include/qemu/coroutine.h | 2 +- > util/qemu-cor

[PATCH v2 04/26] coroutine: remove incorrect coroutine_fn annotations

2022-05-09 Thread Paolo Bonzini
qemu_coroutine_get_aio_context inspects a coroutine, but it does not have to be called from the coroutine itself (or from any coroutine). Signed-off-by: Paolo Bonzini --- include/qemu/coroutine.h | 2 +- util/qemu-coroutine.c| 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --gi