mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 14:15:28 +00:00
b08e6d38ae
When using VNC for graphics + keyboard + mouse, we shouldn't then use the host OS for audio. Audio should go back over VNC. When using SDL for graphics, we should use the host OS for audio since that's where the display is. We need to allow certain QEMU env variables to be passed through to guest too to allow choice of QEMU audio backend. * qemud/libvirtd.sysconf: Mention QEMU/SDL audio env vars * src/qemu_conf.c: Passthrough QEMU/SDL audio env for SDL display, disable host audio for VNC display
18 lines
472 B
Plaintext
18 lines
472 B
Plaintext
# Override the default config file
|
|
#LIBVIRTD_CONFIG=/etc/libvirt/libvirtd.conf
|
|
|
|
# Listen for TCP/IP connections
|
|
# NB. must setup TLS/SSL keys prior to using this
|
|
#LIBVIRTD_ARGS="--listen"
|
|
|
|
# Override Kerberos service keytab for SASL/GSSAPI
|
|
#KRB5_KTNAME=/etc/libvirt/krb5.tab
|
|
|
|
# Override the QEMU/SDL default audio driver probing when
|
|
# starting virtual machines using SDL graphics
|
|
#
|
|
# NB these have no effect for VMs using VNC
|
|
#QEMU_AUDIO_DRV=sdl
|
|
#
|
|
#SDL_AUDIODRIVER=pulse
|