@Vijay_Karamcheti Yes, PCI passthrough via vfio is what I did as well.
If your card is in use by another driver (for example in case of a GPU) you have to unbind it first. For GPUs add the following to
/etc/default/grub (NOTE: The ID is the
<vendor>:<product> combination you can find with
Where the PCI ids are the ones of your GPU. In this case the GPU has also an audio PCI device which has to be passed to VFIO within the same group, otherwise Qemu will fail to forward. Also add
/etc/modules and create
/etc/modprobe.d/vfio.conf with the following content
options vfio-pci ids=1002:67c7,1002:aaf0
softdep radeon pre: vfio-pci
softdep amdgpu pre: vfio-pci
softdep nouveau pre: vfio-pci
softdep drm pre: vfio-pci
$ update-initramfs -u -k all
and finally reboot the system. Once back up the PCI device can now be forwarded via a
raw.qemu: -device vfio-pci,host=01:00.0.
Hope this helps!