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 <diet...@proxmox.com> > --- > 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 handler in aio_set_fd_handler (instead of write handler) > > util/qemu-coroutine-io.c | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-)
Thanks, applied to my block tree: https://github.com/stefanha/qemu/commits/block Stefan
signature.asc
Description: PGP signature