]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
docs: domain: document legacy audio for qemu
authorOlaf Hering <olaf@aepfle.de>
Wed, 12 Jan 2022 12:42:00 +0000 (13:42 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Mon, 17 Jan 2022 17:20:56 +0000 (18:20 +0100)
Adding a blurb like this was forgotten in 2009.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
docs/formatdomain.rst

index c0b2d935f353807bd8f26eaf5587031d14e1c08a..acd902083042a28bcdc1220a367df38a1ce2f9e4 100644 (file)
@@ -7105,6 +7105,20 @@ is permitted with the following attributes.
   The audio format, one of ``s8``, ``u8``, ``s16``, ``u16``,
   ``s32``, ``u32``, ``f32``. The default is hypervisor specific.
 
+Note:
+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:
+
+* ``SDL_AUDIODRIVER``
+
+  Valid values are 'pulseaudio', 'esd', 'alsa' or 'arts'.
+
+* ``QEMU_AUDIO_DRV``
+
+  Valid values are 'pa', 'none', 'alsa', 'coreaudio', 'jack', 'oss',
+  'sdl', 'spice' or 'wav'.
+
 None audio backend
 ^^^^^^^^^^^^^^^^^^