Re: [PATCH 3/9] nbd/server.c: add missing coroutine_fn annotations

2022-11-03 Thread Paolo Bonzini
On 11/3/22 14:42, Emanuele Giuseppe Esposito wrote: There are probably more missing, but right now it is necessary that we extend coroutine_fn to block{allock/status}_to_extents, because they use bdrv_* functions calling the generated_co_wrapper API, which checks for the qemu_in_coroutine() case.

[PATCH 3/9] nbd/server.c: add missing coroutine_fn annotations

2022-11-03 Thread Emanuele Giuseppe Esposito
There are probably more missing, but right now it is necessary that we extend coroutine_fn to block{allock/status}_to_extents, because they use bdrv_* functions calling the generated_co_wrapper API, which checks for the qemu_in_coroutine() case. Signed-off-by: Emanuele Giuseppe Esposito --- nbd/