[libvirt PATCH v2 5/6] qemu: Allow audio driver override in virtqemud
Andrea Bolognani
abologna at redhat.com
Thu Apr 2 17:14:30 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>
Reviewed-by: Ján Tomko <jtomko 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 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
More information about the libvir-list
mailing list