[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4] yield_until_fd_readable: make it work with any AioContect
From: |
Stefan Hajnoczi |
Subject: |
Re: [PATCH v4] yield_until_fd_readable: make it work with any AioContect |
Date: |
Fri, 25 Oct 2019 14:38:43 +0200 |
User-agent: |
Mutt/1.12.1 (2019-06-15) |
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 <address@hidden>
> ---
> 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