proxmox硬件直通设置

Intel CPU

edit:

1
#vi /etc/default/grub

change

1
GRUB_CMDLINE_LINUX_DEFAULT="quiet"

to

1
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on"

then

1
# update-grub

Then run “dmesg | grep -e DMAR -e IOMMU” from the command line. If there is no output, then something is wrong.

AMD CPU

Edit:

1
# vi /etc/default/grub

Change:

1
GRUB_CMDLINE_LINUX_DEFAULT="quiet"

To:

1
GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on"

Required modules
add to /etc/modules

1
2
3
4
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
坚持技术分享,您的支持将鼓励我继续创作!