Re: [Qemu-devel] [RFC PATCH 5/9] util/asyn: add aio interfaces for io_uring

2019-05-22 Thread Stefan Hajnoczi
On Wed, May 22, 2019 at 05:22:11AM +0530, Aarushi Mehta wrote: s/asyn/async/ in the Subject line. > @@ -341,6 +349,25 @@ LinuxAioState *aio_get_linux_aio(AioContext *ctx) > } > #endif > > +#ifdef CONFIG_LINUX_IO_URING > +LuringState *aio_setup_linux_io_uring(AioContext *ctx, Error **errp) > +{

[Qemu-devel] [RFC PATCH 5/9] util/asyn: add aio interfaces for io_uring

2019-05-21 Thread Aarushi Mehta
Signed-off-by: Aarushi Mehta --- util/async.c | 32 1 file changed, 32 insertions(+) diff --git a/util/async.c b/util/async.c index c10642a385..dd45aff8f5 100644 --- a/util/async.c +++ b/util/async.c @@ -277,6 +277,14 @@ aio_ctx_finalize(GSource *source)