]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemu: Allow audio driver override in virtqemud
authorAndrea Bolognani <abologna@redhat.com>
Wed, 1 Apr 2020 18:34:59 +0000 (20:34 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Fri, 3 Apr 2020 09:50:57 +0000 (11:50 +0200)
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>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
src/qemu/virtqemud.sysconf

index 70f76c7c4748ce6b7036667de87ce613ca72653d..87b626e3ed31a7873373706ded177ce3b47b33b5 100644 (file)
@@ -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