I have a machine capable of PCI passthrough with Linux+libvirt. So I know it's supported by BIOS and hardware.
I have installed QEMU in the this machine with NetBSD. When I run QEMU with -device vfio-pci,host=<some id>
I get this error:
qemu-system-x86_64: -device vfio-pci: 'vfio-pci' is not a valid device model name
I can't find a tutorial to use IOMMU with NetBSD. Is it possible to do PCI passthrough when the host is NetBSD? How do I do it?