PVE8开启IOMMU硬件直通功能

作者:小鱼的互联网观察 发布时间:December 6, 2023 分类:linux

1、进入SHELL命令窗口下

~# nano /etc/default/grub


修改行“GRUB_CMDLINE_LINUX_DEFAULT="quiet",

使其为“GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on",


如果是amd cpu请改为:GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on" 。


2、更新grud

~# update-grub

Generating grub configuration file ...

Found linux image: /boot/vmlinuz-6.2.16-3-pve

Found initrd image: /boot/initrd.img-6.2.16-3-pve

Found memtest86+x64 image: /boot/memtest86+x64.bin

done



3、新增模块。修改文件/etc/modules,加入如下的行


~# nano /etc/modules


vfio

vfio_iommu_type1

vfio_pci

vfio_virqfd

 

4、重启系统

~#reboot

5、可以在PVE WEB界面添加需要直通的PCI设备了。

标签: PVE8开启IOMMU硬件直通功能

互联网观察
PVE8开启IOMMU硬件直通功能
本文地址:http://www.tianmeng.org/archives/511/

相关文章

  • 无相关文章
文档信息

当前暂无评论 »

网站地图 京ICP证030173号