[PATCH v2] Add page_per_vq flag to the 'driver' element of virtio devices

Peter Krempa pkrempa at redhat.com
Thu May 6 17:15:52 UTC 2021


On Wed, May 05, 2021 at 10:25:06 +0300, Gavi Teitz wrote:
> https://bugzilla.redhat.com/show_bug.cgi?id=1925363
> 
> Add support for setting the page-per-vq flag, which is important for
> vdpa with vhost-user performance.
> 
> Signed-off-by: Gavi Teitz <gavi at nvidia.com>
> ---
>  docs/formatdomain.rst                              | 11 +++++-
>  docs/schemas/domaincommon.rng                      |  5 +++
>  src/conf/domain_conf.c                             | 10 +++++
>  src/conf/domain_conf.h                             |  1 +
>  src/qemu/qemu_command.c                            |  5 +++
>  src/qemu/qemu_hotplug.c                            |  1 +
>  .../net-virtio-page-per-vq.x86_64-latest.args      | 38 ++++++++++++++++++
>  tests/qemuxml2argvdata/net-virtio-page-per-vq.xml  | 29 ++++++++++++++
>  tests/qemuxml2argvtest.c                           |  1 +
>  .../net-virtio-page-per-vq.x86_64-latest.xml       | 46 ++++++++++++++++++++++
>  tests/qemuxml2xmltest.c                            |  1 +
>  11 files changed, 147 insertions(+), 1 deletion(-)
>  create mode 100644 tests/qemuxml2argvdata/net-virtio-page-per-vq.x86_64-latest.args
>  create mode 100644 tests/qemuxml2argvdata/net-virtio-page-per-vq.xml
>  create mode 100644 tests/qemuxml2xmloutdata/net-virtio-page-per-vq.x86_64-latest.xml

Not a full review, but a note for other reviewers; it's still missing
the ABI stability check.




More information about the libvir-list mailing list