I have a fully working Linux Mint 18.3 installation (host) with a GPU passthrough’d Windows VM and a GPU passthrough’d Linux-based VM (using libvirt in both cases). I use one VM at a time.
I have a Sound Blaster Zx that I pass through to both VMs above and it works as intended individually.
However, as soon as I initialize the Windows VM (and stop it) the sound card stops working in the Linux-based VM any time after that. If I don’t initialize the Windows VM the sound card works in the Linux-based VM, even if I start/stop the VM repeatedly.
The sound card is using the snd_hda_intel driver on the Linux side of things and is throwing a couple of kernel lines when booting up:
snd_hda_intel azx_get response timeout, switching to polling mode: last cmd=0x005f0900
snd_hda_intel IRQ timing workaround is activated for card 1. Suggest a bigger bdl_pos_adj.
Note that those lines exist in the log in both cases (working/not working).
The only way, so far, to get the sound card to get back to a working state in the Linux-based VM is to reboot the host OS.
So, is there a way to ‘reset’ the sound card in the host OS after the Windows VM has shut down, please?