[PATCH v2 0/4] domain_capabilities: add console capabilities

Roman Bogorodskiy posted 4 patches 3 months, 2 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20250524161549.34995-1-bogorodskiy@gmail.com
src/bhyve/bhyve_capabilities.c                |  5 +++
src/conf/domain_capabilities.c                | 12 +++++++
src/conf/domain_capabilities.h                |  8 +++++
src/conf/schemas/domaincaps.rng               | 10 ++++++
src/libxl/libxl_capabilities.c                | 23 ++++++++++++-
src/qemu/qemu_capabilities.c                  | 32 +++++++++++++++++++
src/qemu/qemu_capabilities.h                  |  3 ++
tests/domaincapsdata/bhyve_basic.x86_64.xml   |  5 +++
tests/domaincapsdata/bhyve_fbuf.x86_64.xml    |  5 +++
tests/domaincapsdata/bhyve_uefi.x86_64.xml    |  5 +++
tests/domaincapsdata/libxl-xenfv.xml          | 13 ++++++++
tests/domaincapsdata/libxl-xenpv.xml          | 13 ++++++++
.../qemu_10.0.0-q35.x86_64+amdsev.xml         | 18 +++++++++++
.../domaincapsdata/qemu_10.0.0-q35.x86_64.xml | 18 +++++++++++
.../qemu_10.0.0-tcg.x86_64+amdsev.xml         | 18 +++++++++++
.../domaincapsdata/qemu_10.0.0-tcg.x86_64.xml | 18 +++++++++++
.../qemu_10.0.0-virt.aarch64.xml              | 15 +++++++++
tests/domaincapsdata/qemu_10.0.0.aarch64.xml  | 15 +++++++++
tests/domaincapsdata/qemu_10.0.0.ppc64.xml    | 16 ++++++++++
tests/domaincapsdata/qemu_10.0.0.s390x.xml    | 15 +++++++++
.../qemu_10.0.0.x86_64+amdsev.xml             | 18 +++++++++++
tests/domaincapsdata/qemu_10.0.0.x86_64.xml   | 18 +++++++++++
.../domaincapsdata/qemu_6.2.0-q35.x86_64.xml  | 18 +++++++++++
.../domaincapsdata/qemu_6.2.0-tcg.x86_64.xml  | 18 +++++++++++
tests/domaincapsdata/qemu_6.2.0.ppc64.xml     | 15 +++++++++
tests/domaincapsdata/qemu_6.2.0.x86_64.xml    | 18 +++++++++++
.../domaincapsdata/qemu_7.0.0-q35.x86_64.xml  | 18 +++++++++++
.../domaincapsdata/qemu_7.0.0-tcg.x86_64.xml  | 18 +++++++++++
tests/domaincapsdata/qemu_7.0.0.ppc64.xml     | 16 ++++++++++
tests/domaincapsdata/qemu_7.0.0.x86_64.xml    | 18 +++++++++++
.../domaincapsdata/qemu_7.1.0-q35.x86_64.xml  | 18 +++++++++++
.../domaincapsdata/qemu_7.1.0-tcg.x86_64.xml  | 18 +++++++++++
tests/domaincapsdata/qemu_7.1.0.ppc64.xml     | 16 ++++++++++
tests/domaincapsdata/qemu_7.1.0.x86_64.xml    | 18 +++++++++++
.../qemu_7.2.0-hvf.x86_64+hvf.xml             | 18 +++++++++++
.../domaincapsdata/qemu_7.2.0-q35.x86_64.xml  | 18 +++++++++++
.../qemu_7.2.0-tcg.x86_64+hvf.xml             | 18 +++++++++++
.../domaincapsdata/qemu_7.2.0-tcg.x86_64.xml  | 18 +++++++++++
tests/domaincapsdata/qemu_7.2.0.ppc.xml       | 18 +++++++++++
tests/domaincapsdata/qemu_7.2.0.x86_64.xml    | 18 +++++++++++
.../domaincapsdata/qemu_8.0.0-q35.x86_64.xml  | 18 +++++++++++
.../domaincapsdata/qemu_8.0.0-tcg.x86_64.xml  | 18 +++++++++++
tests/domaincapsdata/qemu_8.0.0.x86_64.xml    | 18 +++++++++++
.../domaincapsdata/qemu_8.1.0-q35.x86_64.xml  | 18 +++++++++++
.../domaincapsdata/qemu_8.1.0-tcg.x86_64.xml  | 18 +++++++++++
tests/domaincapsdata/qemu_8.1.0.s390x.xml     | 15 +++++++++
tests/domaincapsdata/qemu_8.1.0.x86_64.xml    | 18 +++++++++++
.../domaincapsdata/qemu_8.2.0-q35.x86_64.xml  | 18 +++++++++++
.../qemu_8.2.0-tcg-virt.loongarch64.xml       | 18 +++++++++++
.../domaincapsdata/qemu_8.2.0-tcg.x86_64.xml  | 18 +++++++++++
.../qemu_8.2.0-virt.aarch64.xml               | 16 ++++++++++
.../qemu_8.2.0-virt.loongarch64.xml           | 18 +++++++++++
tests/domaincapsdata/qemu_8.2.0.aarch64.xml   | 16 ++++++++++
tests/domaincapsdata/qemu_8.2.0.armv7l.xml    | 18 +++++++++++
tests/domaincapsdata/qemu_8.2.0.s390x.xml     | 15 +++++++++
tests/domaincapsdata/qemu_8.2.0.x86_64.xml    | 18 +++++++++++
.../domaincapsdata/qemu_9.0.0-q35.x86_64.xml  | 18 +++++++++++
.../domaincapsdata/qemu_9.0.0-tcg.x86_64.xml  | 18 +++++++++++
tests/domaincapsdata/qemu_9.0.0.sparc.xml     | 18 +++++++++++
tests/domaincapsdata/qemu_9.0.0.x86_64.xml    | 18 +++++++++++
.../domaincapsdata/qemu_9.1.0-q35.x86_64.xml  | 18 +++++++++++
.../qemu_9.1.0-tcg-virt.riscv64.xml           | 18 +++++++++++
.../domaincapsdata/qemu_9.1.0-tcg.x86_64.xml  | 18 +++++++++++
.../qemu_9.1.0-virt.riscv64.xml               | 18 +++++++++++
tests/domaincapsdata/qemu_9.1.0.s390x.xml     | 15 +++++++++
tests/domaincapsdata/qemu_9.1.0.x86_64.xml    | 18 +++++++++++
.../qemu_9.2.0-hvf.aarch64+hvf.xml            | 16 ++++++++++
.../qemu_9.2.0-q35.x86_64+amdsev.xml          | 18 +++++++++++
.../domaincapsdata/qemu_9.2.0-q35.x86_64.xml  | 18 +++++++++++
.../qemu_9.2.0-tcg.x86_64+amdsev.xml          | 18 +++++++++++
.../domaincapsdata/qemu_9.2.0-tcg.x86_64.xml  | 18 +++++++++++
tests/domaincapsdata/qemu_9.2.0.s390x.xml     | 15 +++++++++
.../qemu_9.2.0.x86_64+amdsev.xml              | 18 +++++++++++
tests/domaincapsdata/qemu_9.2.0.x86_64.xml    | 18 +++++++++++
74 files changed, 1213 insertions(+), 1 deletion(-)
[PATCH v2 0/4] domain_capabilities: add console capabilities
Posted by Roman Bogorodskiy 3 months, 2 weeks ago
Main change since v1 is adding console capabilities reporting for the
libxl driver.

There's also a minor cosmetic change in the qemu part to alphabetically
sort VIR_DOMAIN_CHR_TYPE_* arguments for VIR_DOMAIN_CAPS_ENUM_SET().

Apparently, the only other driver reporting domain capabilities is the
test driver, so it looks like all drivers are covered by this series.

Roman Bogorodskiy (4):
  domain_capabilities: add console capabilities
  bhyve: capabilities: report NMDM console
  qemu: capabilities: report supported console types
  libxl: capabilities: report supported console types

 src/bhyve/bhyve_capabilities.c                |  5 +++
 src/conf/domain_capabilities.c                | 12 +++++++
 src/conf/domain_capabilities.h                |  8 +++++
 src/conf/schemas/domaincaps.rng               | 10 ++++++
 src/libxl/libxl_capabilities.c                | 23 ++++++++++++-
 src/qemu/qemu_capabilities.c                  | 32 +++++++++++++++++++
 src/qemu/qemu_capabilities.h                  |  3 ++
 tests/domaincapsdata/bhyve_basic.x86_64.xml   |  5 +++
 tests/domaincapsdata/bhyve_fbuf.x86_64.xml    |  5 +++
 tests/domaincapsdata/bhyve_uefi.x86_64.xml    |  5 +++
 tests/domaincapsdata/libxl-xenfv.xml          | 13 ++++++++
 tests/domaincapsdata/libxl-xenpv.xml          | 13 ++++++++
 .../qemu_10.0.0-q35.x86_64+amdsev.xml         | 18 +++++++++++
 .../domaincapsdata/qemu_10.0.0-q35.x86_64.xml | 18 +++++++++++
 .../qemu_10.0.0-tcg.x86_64+amdsev.xml         | 18 +++++++++++
 .../domaincapsdata/qemu_10.0.0-tcg.x86_64.xml | 18 +++++++++++
 .../qemu_10.0.0-virt.aarch64.xml              | 15 +++++++++
 tests/domaincapsdata/qemu_10.0.0.aarch64.xml  | 15 +++++++++
 tests/domaincapsdata/qemu_10.0.0.ppc64.xml    | 16 ++++++++++
 tests/domaincapsdata/qemu_10.0.0.s390x.xml    | 15 +++++++++
 .../qemu_10.0.0.x86_64+amdsev.xml             | 18 +++++++++++
 tests/domaincapsdata/qemu_10.0.0.x86_64.xml   | 18 +++++++++++
 .../domaincapsdata/qemu_6.2.0-q35.x86_64.xml  | 18 +++++++++++
 .../domaincapsdata/qemu_6.2.0-tcg.x86_64.xml  | 18 +++++++++++
 tests/domaincapsdata/qemu_6.2.0.ppc64.xml     | 15 +++++++++
 tests/domaincapsdata/qemu_6.2.0.x86_64.xml    | 18 +++++++++++
 .../domaincapsdata/qemu_7.0.0-q35.x86_64.xml  | 18 +++++++++++
 .../domaincapsdata/qemu_7.0.0-tcg.x86_64.xml  | 18 +++++++++++
 tests/domaincapsdata/qemu_7.0.0.ppc64.xml     | 16 ++++++++++
 tests/domaincapsdata/qemu_7.0.0.x86_64.xml    | 18 +++++++++++
 .../domaincapsdata/qemu_7.1.0-q35.x86_64.xml  | 18 +++++++++++
 .../domaincapsdata/qemu_7.1.0-tcg.x86_64.xml  | 18 +++++++++++
 tests/domaincapsdata/qemu_7.1.0.ppc64.xml     | 16 ++++++++++
 tests/domaincapsdata/qemu_7.1.0.x86_64.xml    | 18 +++++++++++
 .../qemu_7.2.0-hvf.x86_64+hvf.xml             | 18 +++++++++++
 .../domaincapsdata/qemu_7.2.0-q35.x86_64.xml  | 18 +++++++++++
 .../qemu_7.2.0-tcg.x86_64+hvf.xml             | 18 +++++++++++
 .../domaincapsdata/qemu_7.2.0-tcg.x86_64.xml  | 18 +++++++++++
 tests/domaincapsdata/qemu_7.2.0.ppc.xml       | 18 +++++++++++
 tests/domaincapsdata/qemu_7.2.0.x86_64.xml    | 18 +++++++++++
 .../domaincapsdata/qemu_8.0.0-q35.x86_64.xml  | 18 +++++++++++
 .../domaincapsdata/qemu_8.0.0-tcg.x86_64.xml  | 18 +++++++++++
 tests/domaincapsdata/qemu_8.0.0.x86_64.xml    | 18 +++++++++++
 .../domaincapsdata/qemu_8.1.0-q35.x86_64.xml  | 18 +++++++++++
 .../domaincapsdata/qemu_8.1.0-tcg.x86_64.xml  | 18 +++++++++++
 tests/domaincapsdata/qemu_8.1.0.s390x.xml     | 15 +++++++++
 tests/domaincapsdata/qemu_8.1.0.x86_64.xml    | 18 +++++++++++
 .../domaincapsdata/qemu_8.2.0-q35.x86_64.xml  | 18 +++++++++++
 .../qemu_8.2.0-tcg-virt.loongarch64.xml       | 18 +++++++++++
 .../domaincapsdata/qemu_8.2.0-tcg.x86_64.xml  | 18 +++++++++++
 .../qemu_8.2.0-virt.aarch64.xml               | 16 ++++++++++
 .../qemu_8.2.0-virt.loongarch64.xml           | 18 +++++++++++
 tests/domaincapsdata/qemu_8.2.0.aarch64.xml   | 16 ++++++++++
 tests/domaincapsdata/qemu_8.2.0.armv7l.xml    | 18 +++++++++++
 tests/domaincapsdata/qemu_8.2.0.s390x.xml     | 15 +++++++++
 tests/domaincapsdata/qemu_8.2.0.x86_64.xml    | 18 +++++++++++
 .../domaincapsdata/qemu_9.0.0-q35.x86_64.xml  | 18 +++++++++++
 .../domaincapsdata/qemu_9.0.0-tcg.x86_64.xml  | 18 +++++++++++
 tests/domaincapsdata/qemu_9.0.0.sparc.xml     | 18 +++++++++++
 tests/domaincapsdata/qemu_9.0.0.x86_64.xml    | 18 +++++++++++
 .../domaincapsdata/qemu_9.1.0-q35.x86_64.xml  | 18 +++++++++++
 .../qemu_9.1.0-tcg-virt.riscv64.xml           | 18 +++++++++++
 .../domaincapsdata/qemu_9.1.0-tcg.x86_64.xml  | 18 +++++++++++
 .../qemu_9.1.0-virt.riscv64.xml               | 18 +++++++++++
 tests/domaincapsdata/qemu_9.1.0.s390x.xml     | 15 +++++++++
 tests/domaincapsdata/qemu_9.1.0.x86_64.xml    | 18 +++++++++++
 .../qemu_9.2.0-hvf.aarch64+hvf.xml            | 16 ++++++++++
 .../qemu_9.2.0-q35.x86_64+amdsev.xml          | 18 +++++++++++
 .../domaincapsdata/qemu_9.2.0-q35.x86_64.xml  | 18 +++++++++++
 .../qemu_9.2.0-tcg.x86_64+amdsev.xml          | 18 +++++++++++
 .../domaincapsdata/qemu_9.2.0-tcg.x86_64.xml  | 18 +++++++++++
 tests/domaincapsdata/qemu_9.2.0.s390x.xml     | 15 +++++++++
 .../qemu_9.2.0.x86_64+amdsev.xml              | 18 +++++++++++
 tests/domaincapsdata/qemu_9.2.0.x86_64.xml    | 18 +++++++++++
 74 files changed, 1213 insertions(+), 1 deletion(-)

-- 
2.49.0
Re: [PATCH v2 0/4] domain_capabilities: add console capabilities
Posted by Michal Prívozník via Devel 3 months, 2 weeks ago
On 5/24/25 18:15, Roman Bogorodskiy wrote:
> Main change since v1 is adding console capabilities reporting for the
> libxl driver.
> 
> There's also a minor cosmetic change in the qemu part to alphabetically
> sort VIR_DOMAIN_CHR_TYPE_* arguments for VIR_DOMAIN_CAPS_ENUM_SET().
> 
> Apparently, the only other driver reporting domain capabilities is the
> test driver, so it looks like all drivers are covered by this series.
> 
> Roman Bogorodskiy (4):
>   domain_capabilities: add console capabilities
>   bhyve: capabilities: report NMDM console
>   qemu: capabilities: report supported console types
>   libxl: capabilities: report supported console types
> 

>  74 files changed, 1213 insertions(+), 1 deletion(-)
> 

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

Michal