Sound Blaster AE-5 reset? bug (Sound card passthrough)

Hi, I play games in several VMs and whenever I restart a VM my sound card goes to max volume and I can’t turn it down (it’s the same volume at 0% and 100%, Windows 10 LTSC & Pro). At first boot it works great though.
I think it’s the same reset bug that some graphic cards have so I thought about loading the sound card rom at boot like in the Gentoo wiki:
wiki.gen too.0rg/wiki/GPU_passthrough_with_libvirt_qemu_kvm. (I can’t link) But I have no idea how to do that for a sound card, I’d guess it’s not in GPU-Z at least.

You mean you’re passing your sound card to several VM’s as pcie device running at the same time?
Does it have sr-iov?

But if you are using only one VM at the time, then you can try to bind/unbind vfio driver from pcie between VM boots. Should work from libvirt hook.

1 Like

Nah, I only pass my sound card to one VM at a time. Okay, I’ll try that, thanks.