簡略筆記一下
https://pve.proxmox.com/wiki/Pci_passthrough
1.add IOMMU support to /etc/default/grub
vi /etc/default/grub
find GRUB_CMDLINE_LINUX_DEFAULT. and append intel_iommu=on at the end.
execute update-grub command to update grub setting.
2.add the following module to /etc/modules
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
update-initramfs -u -k all
restart PVE Host.
3.add the pci device passthrough in the VM.