[PATCH 0/2] domcaps: Add support for 'memoryBacking' element

Kristina Hanicova posted 2 patches 2 years, 9 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1626281099.git.khanicov@redhat.com
docs/formatdomaincaps.html.in                 | 28 +++++++++++++++++++
docs/schemas/domaincaps.rng                   | 10 +++++++
src/conf/domain_capabilities.c                | 14 ++++++++++
src/conf/domain_capabilities.h                |  8 ++++++
src/qemu/qemu_capabilities.c                  | 22 +++++++++++++++
src/qemu/qemu_capabilities.h                  |  3 ++
.../domaincapsdata/qemu_2.11.0-q35.x86_64.xml |  6 ++++
.../domaincapsdata/qemu_2.11.0-tcg.x86_64.xml |  6 ++++
tests/domaincapsdata/qemu_2.11.0.s390x.xml    |  6 ++++
tests/domaincapsdata/qemu_2.11.0.x86_64.xml   |  6 ++++
.../domaincapsdata/qemu_2.12.0-q35.x86_64.xml |  7 +++++
.../domaincapsdata/qemu_2.12.0-tcg.x86_64.xml |  7 +++++
.../qemu_2.12.0-virt.aarch64.xml              |  7 +++++
tests/domaincapsdata/qemu_2.12.0.aarch64.xml  |  7 +++++
tests/domaincapsdata/qemu_2.12.0.ppc64.xml    |  7 +++++
tests/domaincapsdata/qemu_2.12.0.s390x.xml    |  7 +++++
tests/domaincapsdata/qemu_2.12.0.x86_64.xml   |  7 +++++
.../domaincapsdata/qemu_3.0.0-q35.x86_64.xml  |  7 +++++
.../domaincapsdata/qemu_3.0.0-tcg.x86_64.xml  |  7 +++++
tests/domaincapsdata/qemu_3.0.0.ppc64.xml     |  7 +++++
tests/domaincapsdata/qemu_3.0.0.s390x.xml     |  7 +++++
tests/domaincapsdata/qemu_3.0.0.x86_64.xml    |  7 +++++
.../domaincapsdata/qemu_3.1.0-q35.x86_64.xml  |  7 +++++
.../domaincapsdata/qemu_3.1.0-tcg.x86_64.xml  |  7 +++++
tests/domaincapsdata/qemu_3.1.0.ppc64.xml     |  7 +++++
tests/domaincapsdata/qemu_3.1.0.x86_64.xml    |  7 +++++
.../domaincapsdata/qemu_4.0.0-q35.x86_64.xml  |  7 +++++
.../domaincapsdata/qemu_4.0.0-tcg.x86_64.xml  |  7 +++++
.../qemu_4.0.0-virt.aarch64.xml               |  7 +++++
tests/domaincapsdata/qemu_4.0.0.aarch64.xml   |  7 +++++
tests/domaincapsdata/qemu_4.0.0.ppc64.xml     |  7 +++++
tests/domaincapsdata/qemu_4.0.0.s390x.xml     |  7 +++++
tests/domaincapsdata/qemu_4.0.0.x86_64.xml    |  7 +++++
.../domaincapsdata/qemu_4.1.0-q35.x86_64.xml  |  7 +++++
.../domaincapsdata/qemu_4.1.0-tcg.x86_64.xml  |  7 +++++
tests/domaincapsdata/qemu_4.1.0.x86_64.xml    |  7 +++++
.../domaincapsdata/qemu_4.2.0-q35.x86_64.xml  |  7 +++++
.../domaincapsdata/qemu_4.2.0-tcg.x86_64.xml  |  7 +++++
.../qemu_4.2.0-virt.aarch64.xml               |  7 +++++
tests/domaincapsdata/qemu_4.2.0.aarch64.xml   |  7 +++++
tests/domaincapsdata/qemu_4.2.0.ppc64.xml     |  7 +++++
tests/domaincapsdata/qemu_4.2.0.s390x.xml     |  7 +++++
tests/domaincapsdata/qemu_4.2.0.x86_64.xml    |  7 +++++
.../domaincapsdata/qemu_5.0.0-q35.x86_64.xml  |  7 +++++
.../domaincapsdata/qemu_5.0.0-tcg.x86_64.xml  |  7 +++++
.../qemu_5.0.0-virt.aarch64.xml               |  7 +++++
tests/domaincapsdata/qemu_5.0.0.aarch64.xml   |  7 +++++
tests/domaincapsdata/qemu_5.0.0.ppc64.xml     |  7 +++++
tests/domaincapsdata/qemu_5.0.0.x86_64.xml    |  7 +++++
.../domaincapsdata/qemu_5.1.0-q35.x86_64.xml  |  7 +++++
.../domaincapsdata/qemu_5.1.0-tcg.x86_64.xml  |  7 +++++
tests/domaincapsdata/qemu_5.1.0.sparc.xml     |  7 +++++
tests/domaincapsdata/qemu_5.1.0.x86_64.xml    |  7 +++++
.../domaincapsdata/qemu_5.2.0-q35.x86_64.xml  |  7 +++++
.../domaincapsdata/qemu_5.2.0-tcg.x86_64.xml  |  7 +++++
.../qemu_5.2.0-virt.aarch64.xml               |  7 +++++
tests/domaincapsdata/qemu_5.2.0.aarch64.xml   |  7 +++++
tests/domaincapsdata/qemu_5.2.0.ppc64.xml     |  7 +++++
tests/domaincapsdata/qemu_5.2.0.s390x.xml     |  7 +++++
tests/domaincapsdata/qemu_5.2.0.x86_64.xml    |  7 +++++
.../domaincapsdata/qemu_6.0.0-q35.x86_64.xml  |  7 +++++
.../domaincapsdata/qemu_6.0.0-tcg.x86_64.xml  |  7 +++++
tests/domaincapsdata/qemu_6.0.0.s390x.xml     |  7 +++++
tests/domaincapsdata/qemu_6.0.0.x86_64.xml    |  7 +++++
.../domaincapsdata/qemu_6.1.0-q35.x86_64.xml  |  7 +++++
.../domaincapsdata/qemu_6.1.0-tcg.x86_64.xml  |  7 +++++
tests/domaincapsdata/qemu_6.1.0.x86_64.xml    |  7 +++++
67 files changed, 508 insertions(+)
[PATCH 0/2] domcaps: Add support for 'memoryBacking' element
Posted by Kristina Hanicova 2 years, 9 months ago
virt-manager needs to know if memfd memory source type is supported in
order to use virtiofs.

Regarding:
https://listman.redhat.com/archives/virt-tools-list/2021-July/msg00000.html

Kristina Hanicova (2):
  conf: domcaps: Report <memoryBacking>
  qemu: capabilities: fill in domcaps <memoryBacking>

 docs/formatdomaincaps.html.in                 | 28 +++++++++++++++++++
 docs/schemas/domaincaps.rng                   | 10 +++++++
 src/conf/domain_capabilities.c                | 14 ++++++++++
 src/conf/domain_capabilities.h                |  8 ++++++
 src/qemu/qemu_capabilities.c                  | 22 +++++++++++++++
 src/qemu/qemu_capabilities.h                  |  3 ++
 .../domaincapsdata/qemu_2.11.0-q35.x86_64.xml |  6 ++++
 .../domaincapsdata/qemu_2.11.0-tcg.x86_64.xml |  6 ++++
 tests/domaincapsdata/qemu_2.11.0.s390x.xml    |  6 ++++
 tests/domaincapsdata/qemu_2.11.0.x86_64.xml   |  6 ++++
 .../domaincapsdata/qemu_2.12.0-q35.x86_64.xml |  7 +++++
 .../domaincapsdata/qemu_2.12.0-tcg.x86_64.xml |  7 +++++
 .../qemu_2.12.0-virt.aarch64.xml              |  7 +++++
 tests/domaincapsdata/qemu_2.12.0.aarch64.xml  |  7 +++++
 tests/domaincapsdata/qemu_2.12.0.ppc64.xml    |  7 +++++
 tests/domaincapsdata/qemu_2.12.0.s390x.xml    |  7 +++++
 tests/domaincapsdata/qemu_2.12.0.x86_64.xml   |  7 +++++
 .../domaincapsdata/qemu_3.0.0-q35.x86_64.xml  |  7 +++++
 .../domaincapsdata/qemu_3.0.0-tcg.x86_64.xml  |  7 +++++
 tests/domaincapsdata/qemu_3.0.0.ppc64.xml     |  7 +++++
 tests/domaincapsdata/qemu_3.0.0.s390x.xml     |  7 +++++
 tests/domaincapsdata/qemu_3.0.0.x86_64.xml    |  7 +++++
 .../domaincapsdata/qemu_3.1.0-q35.x86_64.xml  |  7 +++++
 .../domaincapsdata/qemu_3.1.0-tcg.x86_64.xml  |  7 +++++
 tests/domaincapsdata/qemu_3.1.0.ppc64.xml     |  7 +++++
 tests/domaincapsdata/qemu_3.1.0.x86_64.xml    |  7 +++++
 .../domaincapsdata/qemu_4.0.0-q35.x86_64.xml  |  7 +++++
 .../domaincapsdata/qemu_4.0.0-tcg.x86_64.xml  |  7 +++++
 .../qemu_4.0.0-virt.aarch64.xml               |  7 +++++
 tests/domaincapsdata/qemu_4.0.0.aarch64.xml   |  7 +++++
 tests/domaincapsdata/qemu_4.0.0.ppc64.xml     |  7 +++++
 tests/domaincapsdata/qemu_4.0.0.s390x.xml     |  7 +++++
 tests/domaincapsdata/qemu_4.0.0.x86_64.xml    |  7 +++++
 .../domaincapsdata/qemu_4.1.0-q35.x86_64.xml  |  7 +++++
 .../domaincapsdata/qemu_4.1.0-tcg.x86_64.xml  |  7 +++++
 tests/domaincapsdata/qemu_4.1.0.x86_64.xml    |  7 +++++
 .../domaincapsdata/qemu_4.2.0-q35.x86_64.xml  |  7 +++++
 .../domaincapsdata/qemu_4.2.0-tcg.x86_64.xml  |  7 +++++
 .../qemu_4.2.0-virt.aarch64.xml               |  7 +++++
 tests/domaincapsdata/qemu_4.2.0.aarch64.xml   |  7 +++++
 tests/domaincapsdata/qemu_4.2.0.ppc64.xml     |  7 +++++
 tests/domaincapsdata/qemu_4.2.0.s390x.xml     |  7 +++++
 tests/domaincapsdata/qemu_4.2.0.x86_64.xml    |  7 +++++
 .../domaincapsdata/qemu_5.0.0-q35.x86_64.xml  |  7 +++++
 .../domaincapsdata/qemu_5.0.0-tcg.x86_64.xml  |  7 +++++
 .../qemu_5.0.0-virt.aarch64.xml               |  7 +++++
 tests/domaincapsdata/qemu_5.0.0.aarch64.xml   |  7 +++++
 tests/domaincapsdata/qemu_5.0.0.ppc64.xml     |  7 +++++
 tests/domaincapsdata/qemu_5.0.0.x86_64.xml    |  7 +++++
 .../domaincapsdata/qemu_5.1.0-q35.x86_64.xml  |  7 +++++
 .../domaincapsdata/qemu_5.1.0-tcg.x86_64.xml  |  7 +++++
 tests/domaincapsdata/qemu_5.1.0.sparc.xml     |  7 +++++
 tests/domaincapsdata/qemu_5.1.0.x86_64.xml    |  7 +++++
 .../domaincapsdata/qemu_5.2.0-q35.x86_64.xml  |  7 +++++
 .../domaincapsdata/qemu_5.2.0-tcg.x86_64.xml  |  7 +++++
 .../qemu_5.2.0-virt.aarch64.xml               |  7 +++++
 tests/domaincapsdata/qemu_5.2.0.aarch64.xml   |  7 +++++
 tests/domaincapsdata/qemu_5.2.0.ppc64.xml     |  7 +++++
 tests/domaincapsdata/qemu_5.2.0.s390x.xml     |  7 +++++
 tests/domaincapsdata/qemu_5.2.0.x86_64.xml    |  7 +++++
 .../domaincapsdata/qemu_6.0.0-q35.x86_64.xml  |  7 +++++
 .../domaincapsdata/qemu_6.0.0-tcg.x86_64.xml  |  7 +++++
 tests/domaincapsdata/qemu_6.0.0.s390x.xml     |  7 +++++
 tests/domaincapsdata/qemu_6.0.0.x86_64.xml    |  7 +++++
 .../domaincapsdata/qemu_6.1.0-q35.x86_64.xml  |  7 +++++
 .../domaincapsdata/qemu_6.1.0-tcg.x86_64.xml  |  7 +++++
 tests/domaincapsdata/qemu_6.1.0.x86_64.xml    |  7 +++++
 67 files changed, 508 insertions(+)

-- 
2.31.1

Re: [PATCH 0/2] domcaps: Add support for 'memoryBacking' element
Posted by Michal Prívozník 2 years, 9 months ago
On 7/15/21 2:18 PM, Kristina Hanicova wrote:
> virt-manager needs to know if memfd memory source type is supported in
> order to use virtiofs.
> 
> Regarding:
> https://listman.redhat.com/archives/virt-tools-list/2021-July/msg00000.html
> 
> Kristina Hanicova (2):
>   conf: domcaps: Report <memoryBacking>
>   qemu: capabilities: fill in domcaps <memoryBacking>
> 

>  67 files changed, 508 insertions(+)
> 

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>

and pushed.

Michal