[vfio-users] problem with hugepages and sound

Marcin Falkiewicz avalatron at gmail.com
Thu Nov 5 10:35:11 UTC 2015


Just unbind device without unloading sound card driver and then bind it 
to vfio-pci (just like libvirt does; libvirt also rebinds device to it's 
former driver after VM shutdown). Pulseaudio goes fine with that.

On 04.11.2015 22:41, Tomasz Jan Góralczyk wrote:
> I also had the same problem with audio and the only way I could fix it
> was by passing through my onboard sound card via vfio. I had to `rmmod`
> the snd_hda_intel module before binding the sound card's vfio group to
> make it work. Obviously, it's not ideal since the card can't be shared
> between the host and the guest, but you already have an USB soundcard,
> so why not use that on the host? After I'm done with the guest, I shut
> it down, unbind the sound card's vfio group and `modprobe` the
> snd_hda_intel module to get audio back up on the host. Note that
> Pulseaudio won't let you unload your sound card's kernel module, while
> it's running.
>
> I have an ASUS Z97 board and a 4790k, so ymmv.
>
>
> _______________________________________________
> vfio-users mailing list
> vfio-users at redhat.com
> https://www.redhat.com/mailman/listinfo/vfio-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/vfio-users/attachments/20151105/6eb03ffe/attachment.htm>


More information about the vfio-users mailing list