[PATCH V3] conf: Add channel devices to domain capabilities
Michal Prívozník
mprivozn at redhat.com
Mon Oct 17 06:50:47 UTC 2022
On 10/15/22 00:23, Jim Fehlig wrote:
> As qemu becomes more modularized, it is important for libvirt to advertise
> availability of the modularized functionality through capabilities. This
> change adds channel devices to domain capabilities, allowing clients such
> as virt-install to avoid using spicevmc channel devices when not supported
> by the target qemu.
>
> Signed-off-by: Jim Fehlig <jfehlig at suse.com>
> ---
>
> V2:
> https://listman.redhat.com/archives/libvir-list/2022-October/234840.html
>
> New in V3:
> - rebased to current master
> - use existing QEMU_CAPS_SPICE for spicevmc channel device
>
> docs/formatdomaincaps.rst | 24 +++++++++++++++++++
> src/conf/domain_capabilities.c | 13 ++++++++++
> src/conf/domain_capabilities.h | 8 +++++++
> src/conf/schemas/domaincaps.rng | 10 ++++++++
> src/qemu/qemu_capabilities.c | 15 ++++++++++++
> src/qemu/qemu_capabilities.h | 3 +++
> .../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 | 6 +++++
> tests/domaincapsdata/qemu_4.2.0.aarch64.xml | 6 +++++
> tests/domaincapsdata/qemu_4.2.0.ppc64.xml | 6 +++++
> tests/domaincapsdata/qemu_4.2.0.s390x.xml | 6 +++++
> 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 | 6 +++++
> tests/domaincapsdata/qemu_5.0.0.aarch64.xml | 6 +++++
> tests/domaincapsdata/qemu_5.0.0.ppc64.xml | 6 +++++
> 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 | 6 +++++
> tests/domaincapsdata/qemu_5.2.0.aarch64.xml | 6 +++++
> tests/domaincapsdata/qemu_5.2.0.ppc64.xml | 6 +++++
> tests/domaincapsdata/qemu_5.2.0.s390x.xml | 6 +++++
> 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 ++++++
> .../qemu_6.0.0-virt.aarch64.xml | 6 +++++
> tests/domaincapsdata/qemu_6.0.0.aarch64.xml | 6 +++++
> tests/domaincapsdata/qemu_6.0.0.s390x.xml | 6 +++++
> 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 ++++++
> .../domaincapsdata/qemu_6.2.0-q35.x86_64.xml | 7 ++++++
> .../domaincapsdata/qemu_6.2.0-tcg.x86_64.xml | 7 ++++++
> .../qemu_6.2.0-virt.aarch64.xml | 7 ++++++
> tests/domaincapsdata/qemu_6.2.0.aarch64.xml | 7 ++++++
> tests/domaincapsdata/qemu_6.2.0.ppc64.xml | 6 +++++
> tests/domaincapsdata/qemu_6.2.0.x86_64.xml | 7 ++++++
> .../domaincapsdata/qemu_7.0.0-q35.x86_64.xml | 7 ++++++
> .../domaincapsdata/qemu_7.0.0-tcg.x86_64.xml | 7 ++++++
> .../qemu_7.0.0-virt.aarch64.xml | 7 ++++++
> tests/domaincapsdata/qemu_7.0.0.aarch64.xml | 7 ++++++
> tests/domaincapsdata/qemu_7.0.0.ppc64.xml | 6 +++++
> tests/domaincapsdata/qemu_7.0.0.x86_64.xml | 7 ++++++
> .../domaincapsdata/qemu_7.1.0-q35.x86_64.xml | 7 ++++++
> .../domaincapsdata/qemu_7.1.0-tcg.x86_64.xml | 7 ++++++
> tests/domaincapsdata/qemu_7.1.0.ppc64.xml | 6 +++++
> tests/domaincapsdata/qemu_7.1.0.x86_64.xml | 7 ++++++
> 55 files changed, 399 insertions(+)
Reviewed-by: Michal Privoznik <mprivozn at redhat.com>
Michal
More information about the libvir-list
mailing list