[PATCH v2 1/5] qemu_capabilities: Introduce QEMU_CAPS_AIO_IO_URING

Peter Krempa pkrempa at redhat.com
Wed Apr 22 08:13:59 UTC 2020


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?

>        ]
>      },
>      {

I'll update the 5.0.0 qemu caps first so that we can push it without
manual intervetntion.




More information about the libvir-list mailing list