qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@redhat.com>
To: Dietmar Maurer <dietmar@proxmox.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [PATCH v4] yield_until_fd_readable: make it work with any AioContect
Date: Fri, 25 Oct 2019 14:38:43 +0200	[thread overview]
Message-ID: <20191025123843.GC13314@stefanha-x1.localdomain> (raw)
In-Reply-To: <20191024045610.9071-1-dietmar@proxmox.com>

[-- Attachment #1: Type: text/plain, Size: 677 bytes --]

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 <dietmar@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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

      reply	other threads:[~2019-10-25 12:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-24  4:56 [PATCH v4] yield_until_fd_readable: make it work with any AioContect Dietmar Maurer
2019-10-25 12:38 ` Stefan Hajnoczi [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191025123843.GC13314@stefanha-x1.localdomain \
    --to=stefanha@redhat.com \
    --cc=dietmar@proxmox.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).