OSDN Git Service

yield_until_fd_readable: make it work with any AioContect
authorDietmar Maurer <dietmar@proxmox.com>
Thu, 24 Oct 2019 04:56:10 +0000 (06:56 +0200)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 25 Oct 2019 12:38:29 +0000 (14:38 +0200)
commitd154ef37ff885918fa3e512fd7a8e42870291667
tree2bb43f26fd2b921527c4bcba4e554c0b6a8a613b
parent7bfde688fb1b05fa5f73d2498be959e59e1e1d57
yield_until_fd_readable: make it work with any AioContect

Simply use qemu_get_current_aio_context().

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
Message-Id: <20191024045610.9071-1-dietmar@proxmox.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
util/qemu-coroutine-io.c