Hello, On Thu, Mar 11, 2021 at 12:55 PM Wang, Yinan <yinan.w...@intel.com> wrote: > > Tested-by: Wang, Yinan <yinan.w...@intel.com> > > Tested PVP case with virtio PMD assumes legacy device, VM with below kernel > LTS versions, all pass except vfio-pci test blocked with kernel v4.4. > 5.10.0-051000-generic virtio-pmd test with vfio-pci/ > igb_uio/uio_pci_generic all pass > 5.4.0-050400-generic virtio-pmd test with vfio-pci/ > igb_uio/uio_pci_generic all pass > 4.19.179-0419179-generic virtio-pmd test with vfio-pci/ > igb_uio/uio_pci_generic all pass > 4.9.260-0409260-generic virtio-pmd test with vfio-pci/ > igb_uio/uio_pci_generic all pass > 4.4.260-0404260-generic virtio-pmd test with > igb_uio/uio_pci_generic can pass ; vfio-pci blocked as fail to bind vfio-pci > to virtio-pmd > > Error info: > root@vmubuntu2004:~/dpdk/usertools# ./dpdk-devbind.py -b vfio-pci 00:04.0 > lspci: Unable to load libkmod resources: error -12 > > root@vmubuntu2004:~/dpdk/usertools# dmesg > [ 161.553493] VFIO - User Level meta-driver version: 0.3 > [ 179.430529] vfio-pci: probe of 0000:00:04.0 failed with error -22
The vanilla stable 4.4 kernel does not support "No-IOMMU mode" for vfio. ae5515d66362 - Revert: "vfio: Include No-IOMMU mode" (5 years ago) <Alex Williamson> So this behavior is expected if you were testing with no iommu in your virtual machine. Thanks for the tests! -- David Marchand