[PATCH v2] docs: domain: document legacy audio for qemu

Olaf Hering olaf at aepfle.de
Wed Jan 12 12:42:00 UTC 2022

Adding a blurb like this was forgotten in 2009.

Signed-off-by: Olaf Hering <olaf at aepfle.de>
 docs/formatdomain.rst | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/docs/formatdomain.rst b/docs/formatdomain.rst
index d4f30bb8af..f07ea34232 100644
--- a/docs/formatdomain.rst
+++ b/docs/formatdomain.rst
@@ -7079,6 +7079,20 @@ is permitted with the following attributes.
   The audio format, one of ``s8``, ``u8``, ``s16``, ``u16``,
   ``s32``, ``u32``, ``f32``. The default is hypervisor specific.
+If no ``<audio/>`` element is defined, and the ``graphics`` element is set to
+either 'vnc' or 'sdl', the libvirtd or virtqemud process will honor the following
+environment variables:
+  Valid values are 'pulseaudio', 'esd', 'alsa' or 'arts'.
+  Valid values are 'pa', 'pulseaudio', 'none', 'alsa', 'coreaudio', 'jack',
+  'oss', 'sdl', 'spice' or 'file'.
 None audio backend

More information about the libvir-list mailing list