pve直通PCI设备报错 No IOMMU detected, please activate it.See Documentation for further information.


在PVE中使用添加PCI设备的时候报故障,如上图

1.启用IOMMU

首先打开grub的bootloader内核命令行配置文件:

添加intel_iommu=on,例如:

Intel CPU

GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on" 

保存退出Ctrl+x,y,回车

更新grub

update-grub

重启

reboot

重启后可以看见可以添加pci设备了

如果是AMD CPU则改为

GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on" 


评论

此博客中的热门博文

Centos8使用本地源