[PATCH 10/26] nbd: add missing coroutine_fn annotations

2022-09-22 Thread Paolo Bonzini
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 Reviewed-by: Eric Blake Signed-off-by: Paolo Bonzini --- block/nbd.c | 10 +- 1 file changed, 5

Re: [PATCH 10/26] nbd: add missing coroutine_fn annotations

2022-04-26 Thread Eric Blake
On Fri, Apr 15, 2022 at 03:18:44PM +0200, Paolo Bonzini wrote: > Signed-off-by: Paolo Bonzini > --- > block/nbd.c | 10 +- > 1 file changed, 5 insertions(+), 5 deletions(-) As elsewhere in this series, a non-empty commit body would be useful. Reviewed-by: Eric Blake > > diff --git a/

[PATCH 10/26] nbd: add missing coroutine_fn annotations

2022-04-15 Thread Paolo Bonzini
Signed-off-by: Paolo Bonzini --- block/nbd.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/block/nbd.c b/block/nbd.c index 5af4deac3f..a4c8d661ad 100644 --- a/block/nbd.c +++ b/block/nbd.c @@ -974,11 +974,11 @@ static void nbd_iter_request_error(NBDReplyChunkIter