[PATCH v2 0/5] qemu: spport AIO interface io_uring

Han Han posted 5 patches 3 years, 12 months ago
Failed in applying to current master (apply log)
docs/formatdomain.html.in                     |  3 +-
docs/news.xml                                 | 11 ++++
docs/schemas/domaincommon.rng                 |  1 +
src/conf/domain_conf.c                        |  1 +
src/conf/domain_conf.h                        |  1 +
src/qemu/qemu_capabilities.c                  |  2 +
src/qemu/qemu_capabilities.h                  |  1 +
src/qemu/qemu_command.c                       |  8 +++
tests/qemublocktest.c                         |  1 +
...le-backing_basic-aio_io_uring-srconly.json | 44 +++++++++++++
.../file-backing_basic-aio_io_uring.json      | 66 +++++++++++++++++++
.../file-backing_basic-aio_io_uring.xml       | 47 +++++++++++++
.../caps_5.0.0.aarch64.replies                |  3 +-
.../caps_5.0.0.aarch64.xml                    |  1 +
.../caps_5.0.0.ppc64.replies                  |  3 +-
.../qemucapabilitiesdata/caps_5.0.0.ppc64.xml |  1 +
.../caps_5.0.0.x86_64.replies                 |  3 +-
.../caps_5.0.0.x86_64.xml                     |  1 +
.../disk-aio-io_uring.x86_64-latest.args      | 41 ++++++++++++
tests/qemuxml2argvdata/disk-aio-io_uring.xml  | 30 +++++++++
tests/qemuxml2argvtest.c                      |  1 +
.../disk-aio-io_uring.x86_64-latest.xml       | 39 +++++++++++
tests/qemuxml2xmltest.c                       |  1 +
23 files changed, 306 insertions(+), 4 deletions(-)
create mode 100644 tests/qemublocktestdata/xml2json/file-backing_basic-aio_io_uring-srconly.json
create mode 100644 tests/qemublocktestdata/xml2json/file-backing_basic-aio_io_uring.json
create mode 100644 tests/qemublocktestdata/xml2json/file-backing_basic-aio_io_uring.xml
create mode 100644 tests/qemuxml2argvdata/disk-aio-io_uring.x86_64-latest.args
create mode 100644 tests/qemuxml2argvdata/disk-aio-io_uring.xml
create mode 100644 tests/qemuxml2xmloutdata/disk-aio-io_uring.x86_64-latest.xml
[PATCH v2 0/5] qemu: spport AIO interface io_uring
Posted by Han Han 3 years, 12 months ago
Changes from v1:
- Separate the news XML patch from the docs patch
- More details in the descrition of news XML
- Change bus type of unit tests XML from ide to virtio
- Fix missing spaces in docs patch
- Reorder the sequence of patches

git repo: https://github.com/qiankehan/libvirt/tree/io_uring-v2
v1: https://www.redhat.com/archives/libvir-list/2020-April/msg00883.html

Han Han (5):
  qemu_capabilities: Introduce QEMU_CAPS_AIO_IO_URING
  qemu: Implement the aio mode io_uring
  docs: Docs and rng schemas for io_uring
  tests: Tests for io mode io_uring
  news: qemu: support async IO mode 'io_uring'

 docs/formatdomain.html.in                     |  3 +-
 docs/news.xml                                 | 11 ++++
 docs/schemas/domaincommon.rng                 |  1 +
 src/conf/domain_conf.c                        |  1 +
 src/conf/domain_conf.h                        |  1 +
 src/qemu/qemu_capabilities.c                  |  2 +
 src/qemu/qemu_capabilities.h                  |  1 +
 src/qemu/qemu_command.c                       |  8 +++
 tests/qemublocktest.c                         |  1 +
 ...le-backing_basic-aio_io_uring-srconly.json | 44 +++++++++++++
 .../file-backing_basic-aio_io_uring.json      | 66 +++++++++++++++++++
 .../file-backing_basic-aio_io_uring.xml       | 47 +++++++++++++
 .../caps_5.0.0.aarch64.replies                |  3 +-
 .../caps_5.0.0.aarch64.xml                    |  1 +
 .../caps_5.0.0.ppc64.replies                  |  3 +-
 .../qemucapabilitiesdata/caps_5.0.0.ppc64.xml |  1 +
 .../caps_5.0.0.x86_64.replies                 |  3 +-
 .../caps_5.0.0.x86_64.xml                     |  1 +
 .../disk-aio-io_uring.x86_64-latest.args      | 41 ++++++++++++
 tests/qemuxml2argvdata/disk-aio-io_uring.xml  | 30 +++++++++
 tests/qemuxml2argvtest.c                      |  1 +
 .../disk-aio-io_uring.x86_64-latest.xml       | 39 +++++++++++
 tests/qemuxml2xmltest.c                       |  1 +
 23 files changed, 306 insertions(+), 4 deletions(-)
 create mode 100644 tests/qemublocktestdata/xml2json/file-backing_basic-aio_io_uring-srconly.json
 create mode 100644 tests/qemublocktestdata/xml2json/file-backing_basic-aio_io_uring.json
 create mode 100644 tests/qemublocktestdata/xml2json/file-backing_basic-aio_io_uring.xml
 create mode 100644 tests/qemuxml2argvdata/disk-aio-io_uring.x86_64-latest.args
 create mode 100644 tests/qemuxml2argvdata/disk-aio-io_uring.xml
 create mode 100644 tests/qemuxml2xmloutdata/disk-aio-io_uring.x86_64-latest.xml

-- 
2.25.0

Re: [PATCH v2 0/5] qemu: spport AIO interface io_uring
Posted by Pavel Mores 3 years, 12 months ago
On Tue, Apr 21, 2020 at 08:19:33PM +0800, Han Han wrote:
> Changes from v1:
> - Separate the news XML patch from the docs patch
> - More details in the descrition of news XML
> - Change bus type of unit tests XML from ide to virtio
> - Fix missing spaces in docs patch
> - Reorder the sequence of patches
> 
> git repo: https://github.com/qiankehan/libvirt/tree/io_uring-v2
> v1: https://www.redhat.com/archives/libvir-list/2020-April/msg00883.html
> 
> Han Han (5):
>   qemu_capabilities: Introduce QEMU_CAPS_AIO_IO_URING
>   qemu: Implement the aio mode io_uring
>   docs: Docs and rng schemas for io_uring
>   tests: Tests for io mode io_uring
>   news: qemu: support async IO mode 'io_uring'

This series does pretty much what's requested by

https://bugzilla.redhat.com/show_bug.cgi?id=1769598

am I right?

Thanks,

	pvl

Re: [PATCH v2 0/5] qemu: spport AIO interface io_uring
Posted by Han Han 3 years, 11 months ago
On Fri, Apr 24, 2020 at 9:58 PM Pavel Mores <pmores@redhat.com> wrote:

> On Tue, Apr 21, 2020 at 08:19:33PM +0800, Han Han wrote:
> > Changes from v1:
> > - Separate the news XML patch from the docs patch
> > - More details in the descrition of news XML
> > - Change bus type of unit tests XML from ide to virtio
> > - Fix missing spaces in docs patch
> > - Reorder the sequence of patches
> >
> > git repo: https://github.com/qiankehan/libvirt/tree/io_uring-v2
> > v1: https://www.redhat.com/archives/libvir-list/2020-April/msg00883.html
> >
> > Han Han (5):
> >   qemu_capabilities: Introduce QEMU_CAPS_AIO_IO_URING
> >   qemu: Implement the aio mode io_uring
> >   docs: Docs and rng schemas for io_uring
> >   tests: Tests for io mode io_uring
> >   news: qemu: support async IO mode 'io_uring'
>
> This series does pretty much what's requested by
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1769598
>
> am I right?
>
Yeah.
I forgot to mention the bug in the commit msg :)..

>
> Thanks,
>
>         pvl
>
>

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

Email: hhan@redhat.com
Phone: +861065339333