Re: [PATCH v4] yield_until_fd_readable: make it work with any AioContect

2019-10-25 Thread Stefan Hajnoczi
On Thu, Oct 24, 2019 at 06:56:10AM +0200, Dietmar Maurer wrote: > Simply use qemu_get_current_aio_context(). > > Signed-off-by: Dietmar Maurer > --- > Changelog for v4: > > - avoid unsafe cast and keep fd_coroutine_enter() > > Changelog for v3: > > - use (IOHandler *) instead of ((void (*)(voi

[PATCH v4] yield_until_fd_readable: make it work with any AioContect

2019-10-23 Thread Dietmar Maurer
Simply use qemu_get_current_aio_context(). Signed-off-by: Dietmar Maurer --- Changelog for v4: - avoid unsafe cast and keep fd_coroutine_enter() Changelog for v3: - use (IOHandler *) instead of ((void (*)(void *)) - coding style: fix max line length Changelog for v2: - use correct read handl