On 05/07/2017 15:39, Marc-André Lureau wrote: >>> The function may be safely called from non-coroutine context. >>> >>> Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com> >> It can, but it shouldn't... What are the callers? > > There is aio_co_enter() & qemu_aio_coroutine_enter() that call it > without coroutine context, but they are probably safe and can be > manually tagged as coroutine-section.
Yes, they are. One is under qemu_in_coroutine (patch 2), the other is part of the runtime (patch 1 maybe). Awesome work by the way. Paolo