diff options
author | Jim Fehlig <jfehlig@suse.com> | 2022-08-30 15:29:14 -0600 |
---|---|---|
committer | Jim Fehlig <jfehlig@suse.com> | 2022-10-14 16:10:01 -0600 |
commit | 4e13cc4adbdd9319e6c25af44bdbe5c9cb09d205 (patch) | |
tree | 1e98a658d87a59d3f619213680c3ea059837d4fb /docs/formatdomaincaps.rst | |
parent | ad5c4be09fe415b4161c4b04ca2ef96f30a0509b (diff) | |
download | libvirt-4e13cc4adbdd9319e6c25af44bdbe5c9cb09d205.tar.gz |
conf: Add USB redirect devices to domain capabilities
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@suse.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Diffstat (limited to 'docs/formatdomaincaps.rst')
-rw-r--r-- | docs/formatdomaincaps.rst | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/docs/formatdomaincaps.rst b/docs/formatdomaincaps.rst index afade16bc0..93d36f2702 100644 --- a/docs/formatdomaincaps.rst +++ b/docs/formatdomaincaps.rst @@ -543,6 +543,28 @@ TPM device capabilities are exposed under the ``tpm`` element. For instance: ``backendVersion`` Options for the ``version`` attribute of the ``<tpm><backend/>`` element. +USB redirect device +^^^^^^^^^^^^^^^^^^^ + +USB redirdev device capabilities are exposed under the ``redirdev`` element. For instance: + +:: + + <domainCapabilities> + ... + <devices> + <redirdev supported='yes'> + <enum name='bus'> + <value>usb</value> + </enum> + </redirdev> + ... + </devices> + </domainCapabilities> + +``bus`` + Options for the ``bus`` attribute of the ``<redirdev/>`` element. + Features ~~~~~~~~ |