So iam trying to do passthrough without the iommu DMA protections and i have ran into a small issue and iam not sure what it is.
So when i enable unsafe iommu mode and put iommu=off in my kernel parameters i can confirm it is work as it is supposed to. Vfio is also still working correctly in no iommu mode and is still able to grab devices.
Now in general when you bind a device to vfio you get a new device in the dev tree with a number scheme, example.
/dev/vfio/0
/dev/vfio/1
/dev/vfio/2
/dev/vfio/3
etc…
When using noiommu mode
you instead get devices named as the following when you attach the device to vfio
/dev/vfio/noiommu-0
/dev/vfio/noiommu-1
So i can confirm it seems to be assigning the devices correctly in noiommu mode and vfio is still able to grab the devices as confirmed with lspci.
but the problem iam having is as soon as i try to start my libvirtxml based KVM on virt-manager, i get an error saying “/dev/vfio/0” is not found.
So it seems that libvirt, qemu or kvm is not correctly updating to the noiommu device naming scheme.
Anyone know how i can back trace this?

Example of libvirt / qemu not looking at the noiommu groupings instead of the vfio ones.
