qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 0/9] Still more coroutine and various fixes in block layer


From: Paolo Bonzini
Subject: Re: [PATCH v2 0/9] Still more coroutine and various fixes in block layer
Date: Fri, 4 Nov 2022 14:16:28 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.0

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>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]