Re: [PATCH V2 1/3] conf: Add USB redirect devices to domain capabilities

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/13/22 01:24, 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 USB redirect devices to domain capabilities, allowing clients
> such as virt-install to avoid using redirdev devices when not supported
> by the target qemu.
> 
> Signed-off-by: Jim Fehlig <jfehlig@xxxxxxxx>
> ---
>  docs/formatdomaincaps.rst                     | 22 +++++++++++++++++++
>  src/conf/domain_capabilities.c                | 13 +++++++++++
>  src/conf/domain_capabilities.h                |  8 +++++++
>  src/conf/schemas/domaincaps.rng               | 10 +++++++++
>  src/qemu/qemu_capabilities.c                  | 17 ++++++++++++++
>  src/qemu/qemu_capabilities.h                  |  3 +++
>  .../domaincapsdata/qemu_4.2.0-q35.x86_64.xml  |  5 +++++
>  .../domaincapsdata/qemu_4.2.0-tcg.x86_64.xml  |  5 +++++
>  .../qemu_4.2.0-virt.aarch64.xml               |  1 +
>  tests/domaincapsdata/qemu_4.2.0.aarch64.xml   |  1 +
>  tests/domaincapsdata/qemu_4.2.0.ppc64.xml     |  1 +
>  tests/domaincapsdata/qemu_4.2.0.s390x.xml     |  5 +++++
>  tests/domaincapsdata/qemu_4.2.0.x86_64.xml    |  5 +++++
>  .../domaincapsdata/qemu_5.0.0-q35.x86_64.xml  |  5 +++++
>  .../domaincapsdata/qemu_5.0.0-tcg.x86_64.xml  |  5 +++++
>  .../qemu_5.0.0-virt.aarch64.xml               |  1 +
>  tests/domaincapsdata/qemu_5.0.0.aarch64.xml   |  1 +
>  tests/domaincapsdata/qemu_5.0.0.ppc64.xml     |  1 +
>  tests/domaincapsdata/qemu_5.0.0.x86_64.xml    |  5 +++++
>  .../domaincapsdata/qemu_5.1.0-q35.x86_64.xml  |  5 +++++
>  .../domaincapsdata/qemu_5.1.0-tcg.x86_64.xml  |  5 +++++
>  tests/domaincapsdata/qemu_5.1.0.sparc.xml     |  5 +++++
>  tests/domaincapsdata/qemu_5.1.0.x86_64.xml    |  5 +++++
>  .../domaincapsdata/qemu_5.2.0-q35.x86_64.xml  |  5 +++++
>  .../domaincapsdata/qemu_5.2.0-tcg.x86_64.xml  |  5 +++++
>  .../qemu_5.2.0-virt.aarch64.xml               |  1 +
>  tests/domaincapsdata/qemu_5.2.0.aarch64.xml   |  1 +
>  tests/domaincapsdata/qemu_5.2.0.ppc64.xml     |  1 +
>  tests/domaincapsdata/qemu_5.2.0.s390x.xml     |  5 +++++
>  tests/domaincapsdata/qemu_5.2.0.x86_64.xml    |  5 +++++
>  .../domaincapsdata/qemu_6.0.0-q35.x86_64.xml  |  5 +++++
>  .../domaincapsdata/qemu_6.0.0-tcg.x86_64.xml  |  5 +++++
>  .../qemu_6.0.0-virt.aarch64.xml               |  1 +
>  tests/domaincapsdata/qemu_6.0.0.aarch64.xml   |  1 +
>  tests/domaincapsdata/qemu_6.0.0.s390x.xml     |  5 +++++
>  tests/domaincapsdata/qemu_6.0.0.x86_64.xml    |  5 +++++
>  .../domaincapsdata/qemu_6.1.0-q35.x86_64.xml  |  5 +++++
>  .../domaincapsdata/qemu_6.1.0-tcg.x86_64.xml  |  5 +++++
>  tests/domaincapsdata/qemu_6.1.0.x86_64.xml    |  5 +++++
>  .../domaincapsdata/qemu_6.2.0-q35.x86_64.xml  |  5 +++++
>  .../domaincapsdata/qemu_6.2.0-tcg.x86_64.xml  |  5 +++++
>  .../qemu_6.2.0-virt.aarch64.xml               |  5 +++++
>  tests/domaincapsdata/qemu_6.2.0.aarch64.xml   |  5 +++++
>  tests/domaincapsdata/qemu_6.2.0.ppc64.xml     |  1 +
>  tests/domaincapsdata/qemu_6.2.0.x86_64.xml    |  5 +++++
>  .../domaincapsdata/qemu_7.0.0-q35.x86_64.xml  |  5 +++++
>  .../domaincapsdata/qemu_7.0.0-tcg.x86_64.xml  |  5 +++++
>  .../qemu_7.0.0-virt.aarch64.xml               |  5 +++++
>  tests/domaincapsdata/qemu_7.0.0.aarch64.xml   |  5 +++++
>  tests/domaincapsdata/qemu_7.0.0.ppc64.xml     |  5 +++++
>  tests/domaincapsdata/qemu_7.0.0.x86_64.xml    |  5 +++++
>  .../domaincapsdata/qemu_7.1.0-q35.x86_64.xml  |  5 +++++
>  .../domaincapsdata/qemu_7.1.0-tcg.x86_64.xml  |  5 +++++
>  tests/domaincapsdata/qemu_7.1.0.x86_64.xml    |  5 +++++
>  54 files changed, 265 insertions(+)

Reviewed-by: Michal Privoznik <mprivozn@xxxxxxxxxx>

Michal




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux