[PATCH v2 1/5] qemu_capabilities: Introduce QEMU_CAPS_AIO_IO_URING

Han Han hhan at redhat.com
Wed Apr 22 08:28:06 UTC 2020


On Wed, Apr 22, 2020 at 4:14 PM Peter Krempa <pkrempa at redhat.com> wrote:

> On Tue, Apr 21, 2020 at 20:19:34 +0800, Han Han wrote:
> > Add io_uring value to capability replies.
> >
> > The capability QEMU_CAPS_AIO_IO_URING will be used for io_uring aio mode,
> > introduced from QEMU 5.0, linux 5.1.
> >
> > Signed-off-by: Han Han <hhan at redhat.com>
> > ---
> >  src/qemu/qemu_capabilities.c                          | 2 ++
> >  src/qemu/qemu_capabilities.h                          | 1 +
> >  tests/qemucapabilitiesdata/caps_5.0.0.aarch64.replies | 3 ++-
> >  tests/qemucapabilitiesdata/caps_5.0.0.aarch64.xml     | 1 +
> >  tests/qemucapabilitiesdata/caps_5.0.0.ppc64.replies   | 3 ++-
> >  tests/qemucapabilitiesdata/caps_5.0.0.ppc64.xml       | 1 +
> >  tests/qemucapabilitiesdata/caps_5.0.0.x86_64.replies  | 3 ++-
> >  tests/qemucapabilitiesdata/caps_5.0.0.x86_64.xml      | 1 +
> >  8 files changed, 12 insertions(+), 3 deletions(-)
>
> [...]
>
> > diff --git a/tests/qemucapabilitiesdata/caps_5.0.0.x86_64.replies
> b/tests/qemucapabilitiesdata/caps_5.0.0.x86_64.replies
> > index af2299a4..970e483e 100644
> > --- a/tests/qemucapabilitiesdata/caps_5.0.0.x86_64.replies
> > +++ b/tests/qemucapabilitiesdata/caps_5.0.0.x86_64.replies
> > @@ -22244,7 +22244,8 @@
> >        "meta-type": "enum",
> >        "values": [
> >          "threads",
> > -        "native"
> > +        "native",
> > +        "io_uring"
>
> Did you patch this manually?
>
> Yes

> >        ]
> >      },
> >      {
>
> I'll update the 5.0.0 qemu caps first so that we can push it without
> manual intervetntion.
>
> OK. Wait for your caps patch :)


-- 
Best regards,
-----------------------------------
Han Han
Quality Engineer
Redhat.

Email: hhan at redhat.com
Phone: +861065339333
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200422/ee1817b2/attachment-0001.htm>


More information about the libvir-list mailing list