[vfio-users] Cannot get vfio-pci to work

Alex Williamson alex.williamson at redhat.com
Wed Aug 15 18:01:51 UTC 2018


On Wed, 15 Aug 2018 19:48:21 +0200
Jes Urup <jes at urup.me> wrote:

> Hello,
> Im really having some trouble getting iommu/vfio-pci to work.
> Im running on a supermicro X8SIE-F. I have enabled vt-d in bios.
> I used dpdk-devbind so it uses vfio-pci driver, but the kernel module is
> still e1000e.
> I've added modules="vfio vfio-pci vfio_iommu_type1" to /etc/conf.d/modules,
> and made it start on boot and i've created a udev rule. Ive also tried
> https://www.kernel.org/doc/Documentation/vfio.txt but no luck.. So i hope
> some one can help me getting it to work
> Im on gentoo with kernel 4.8.17-hardened-r2

Did you enable vt-d in the kernel (intel_iommu=on)?

Did you check that the iommu is enabled by looking at the iommu groups
(find /sys/kernel/iommu_groups/ -type l)?

Otherwise what error do you get when you try to bind to vfio-pci?  Any
errors in dmesg?  Thanks,

Alex




More information about the vfio-users mailing list