欢迎您访问 最编程 本站为您分享编程语言代码,编程技术文章!
您现在的位置是: 首页

VFIO - User Level meta-driver version

最编程 2024-08-14 18:46:37
...
Error - no supported modules(DPDK driver) are loaded
[   45.422045] VFIO - User Level meta-driver version: 0.3
Y
Error - no supported modules(DPDK driver) are loaded
[root@localhost ~]# 

正常情况下

[root@localhost cloud_images]# lsmod | grep vfio 
vfio_pci              262144  0 
vfio_virqfd           262144  1 vfio_pci
vfio_iommu_type1      262144  0 
vfio                  262144  3 vfio_iommu_type1,vfio_pci
Error - no supported modules(DPDK driver) are loaded

 只执行了modprobe  vfio enable_unsafe_noiommu_mode=1

[root@localhost ~]# modprobe vfio-pci
[root@localhost ~]# lsmod | grep vfio
vfio_pci              262144  0 
vfio_virqfd           262144  1 vfio_pci
vfio_iommu_type1      262144  0 
vfio                  262144  2 vfio_iommu_type1,vfio_pci
[root@localhost ~]# 
[root@localhost ~]# dpdk-devbind  -s

Network devices using kernel driver
===================================
0000:00:01.0 'Virtio network device 1000' if=eth0 drv=virtio-pci unused=vfio-pci 

No 'Crypto' devices detected
============================

No 'Eventdev' devices detected
==============================

No 'Mempool' devices detected
=============================

No 'Compress' devices detected
==============================
[root@localhost ~]# dpdk-devbind  -b vfio-pci  0000:00:01.0

原文地址:https://www.cnblogs.com/dream397/p/13969625.html