Message ID | 20221104095700.4117433-1-eesposit@redhat.com (mailing list archive) |
---|---|
Headers | show |
Series | Still more coroutine and various fixes in block layer | expand |
On 11/4/22 10:56, Emanuele Giuseppe Esposito wrote: > This is a dump of all minor coroutine-related fixes found while looking > around and testing various things in the QEMU block layer. > > Patches aim to: > - add missing coroutine_fn annotation to the functions > - simplify to avoid the typical "if in coroutine: fn() > // else create_coroutine(fn)" already present in generated_co_wraper > functions. > - make sure that if a BlockDriver callback is defined as coroutine_fn, then > it is always running in a coroutine. Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>