[Libguestfs] [PATCH v1] docs: domain: document legacy audio for qemu

Laszlo Ersek lersek at redhat.com
Wed Jan 12 12:32:23 UTC 2022


On 01/12/22 11:31, Olaf Hering wrote:
> 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(+)

I think this patch should have been sent to the libvirt mailing list:

https://listman.redhat.com/mailman/listinfo/libvir-list

Thanks
Laszlo

> 
> 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.
>  
> +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', 'pulseaudio', 'none', 'alsa', 'coreaudio', 'jack',
> +  'oss', 'sdl', 'spice' or 'file'.
> +
>  None audio backend
>  ^^^^^^^^^^^^^^^^^^
>  
> 
> _______________________________________________
> Libguestfs mailing list
> Libguestfs at redhat.com
> https://listman.redhat.com/mailman/listinfo/libguestfs
> 




More information about the Libguestfs mailing list