[libvirt PATCH v2 5/6] qemu: Allow audio driver override in virtqemud

Andrea Bolognani posted 6 patches 5 years, 10 months ago
[libvirt PATCH v2 5/6] qemu: Allow audio driver override in virtqemud
Posted by Andrea Bolognani 5 years, 10 months ago
libvirtd supports this feature, and virtqemud ultimately calls to
the same code so it does as well: advertise it in the sysconf file
for the latter, as is already the case for the former.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
---
 src/qemu/virtqemud.sysconf | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/src/qemu/virtqemud.sysconf b/src/qemu/virtqemud.sysconf
index 70f76c7c47..87b626e3ed 100644
--- a/src/qemu/virtqemud.sysconf
+++ b/src/qemu/virtqemud.sysconf
@@ -1,3 +1,12 @@
 # Customizations for the virtqemud.service systemd unit
 
 VIRTQEMUD_ARGS="--timeout 120"
+
+# Override the QEMU/SDL default audio driver probing when
+# starting virtual machines using SDL graphics
+#
+# NB these have no effect for VMs using VNC, unless vnc_allow_host_audio
+# is enabled in /etc/libvirt/qemu.conf
+#QEMU_AUDIO_DRV=sdl
+#
+#SDL_AUDIODRIVER=pulse
-- 
2.25.1

Re: [libvirt PATCH v2 5/6] qemu: Allow audio driver override in virtqemud
Posted by Daniel P. Berrangé 5 years, 10 months ago
On Thu, Apr 02, 2020 at 07:14:30PM +0200, Andrea Bolognani wrote:
> libvirtd supports this feature, and virtqemud ultimately calls to
> the same code so it does as well: advertise it in the sysconf file
> for the latter, as is already the case for the former.
> 
> Signed-off-by: Andrea Bolognani <abologna@redhat.com>
> Reviewed-by: Ján Tomko <jtomko@redhat.com>
> ---
>  src/qemu/virtqemud.sysconf | 9 +++++++++
>  1 file changed, 9 insertions(+)

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|