When we use Spice in a virtual machine under KVM/qemu/libvirt, the QEMU_AUDIO_DRV is set to spice by default.
My host (debian-Stretch) use a good sound card (Xonar DX) and a better sound driver (pulseaudio,alsa).
How to use in a virtual machine spice for the graphic aspect and pulseaudio or alsa for the sound aspect (whatever the guest OS) ?
**Note 1**: in the domain.xml, I added:
Now, in domain.log, I see:
QEMU_AUDIO_DRV=pa QEMU_PA_SERVER=/run/user/1000/pulse/native
Well but I don't know if my guest uses pulseaudio or not because domain.xml has the following section:
**Note 2**: other try:
No sound.
Asked by Bertaud
(255 rep)
Jan 21, 2018, 10:58 PM
Last activity: Sep 1, 2021, 12:33 PM
Last activity: Sep 1, 2021, 12:33 PM