Proxmox PCI Passthrough
PCI passthrough allows you to use a physical PCI device (graphics card, network card) inside a VM (KVM virtualization only).
If you “PCI passthrough” a device, the device is not available to the host anymore.
Note: PCI passthrough is an experimental feature in Proxmox VE! VMs with passthroughed devices cannot be migrated.
Enable the IOMMU
First open your bootloader kernel command line config file.
Find line GRUB_CMDLINE_LINUX_DEFAULT=“quiet”
Then save the changes and update grub:
and than, reboot your PVE
Verify IOMMU is enabled
after reboot, then run:
There should be a line that looks like “DMAR: IOMMU enabled”. If there is no output, something is wrong.
Add PT Mode, Both Intel and AMD chips can use the additional parameter “iommu=pt”, added in the same way as above to the kernel cmdline.
This enables the IOMMU translation only when necessary, the adapter does not need to use DMA translation to the memory, and can thus improve performance for hypervisor PCIe devices (which are not passthroughed to a VM)
than, update grub and root
Add required Modules
add to /etc/modules (default is empty)
Then, reboot. Well Done