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 <[email protected]>
Reviewed-by: Ján Tomko <[email protected]>
---
 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

Reply via email to