[vfio-users] Adding sound into VM via Libvirt

Eddie Yen missile0407 at gmail.com
Mon Oct 5 07:25:42 UTC 2015


Since I got the performance back this morning, now I have another issue
need to solve.
As title, I still can't get audio work by using libvirt (or virt-manager)

Libvirt didn't support hda option, so I added '-soundhw hda' by using
qemu:commandline.
But I got error when bootup, the message said that VFIO can't bind GPU
because it occupied by intel_hda.

But I checked lspci, Both GPU and HDMI sound still got controlled by VFIO.
Also, I noticed that using soundhw option may also need to add
QEMU_PA_SAMPLE & QEMU_AUDIO_DRV options.
But these two options need to added before qemu-system-x86_64 if wrote by
manual.
How can I add these two options into XML file?


Many thanks,
AK.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/vfio-users/attachments/20151005/8e77852a/attachment.htm>


More information about the vfio-users mailing list