[PATCH 08/26] file-posix: 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/file-posix.c | 2 +- 1 file changed, 1

Re: [PATCH 08/26] file-posix: add missing coroutine_fn annotations

2022-04-19 Thread Eric Blake
On Fri, Apr 15, 2022 at 03:18:42PM +0200, Paolo Bonzini wrote: > Signed-off-by: Paolo Bonzini > --- > block/file-posix.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Eric Blake > > diff --git a/block/file-posix.c b/block/file-posix.c > index bfd9b2..cf7b5531c8

[PATCH 08/26] file-posix: add missing coroutine_fn annotations

2022-04-15 Thread Paolo Bonzini
Signed-off-by: Paolo Bonzini --- block/file-posix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block/file-posix.c b/block/file-posix.c index bfd9b2..cf7b5531c8 100644 --- a/block/file-posix.c +++ b/block/file-posix.c @@ -2143,7 +2143,7 @@ static void