[libvirt PATCH 7/8] qemu: Allow audio driver override in virtqemud

Andrea Bolognani abologna at redhat.com
Wed Apr 1 18:53:44 UTC 2020


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 at 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 53d9de7a20..50816be594 100644
--- a/src/qemu/virtqemud.sysconf
+++ b/src/qemu/virtqemud.sysconf
@@ -1,3 +1,12 @@
 #
 # Pass extra arguments to virtqemud
 #VIRTQEMUD_ARGS=
+
+# 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




More information about the libvir-list mailing list