Skip to content

IOMMU PCI Passthrough in Proxmox

With IOMMU you can pass PCI devices (such as LSI HBA controllers) directly to VMs.

  1. Make sure all virtualization options are enabled in BIOS/UEFI.
  2. Add the following to /etc/default/grub:
    Terminal window
    GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on"
    update-grub
  3. Add the following to /etc/kernel/cmdline:
    Terminal window
    intel_iommu=on
    proxmox-boot-tool refresh
  4. Add the following to /etc/modules:
    Terminal window
    vfio
    vfio_iommu_type1
    vfio_pci
    vfio_virqfd
  5. Reboot the server.

If you get an error when assigning an LSI card via passthrough, disable the “ROM-bar” option in the VM settings.

Video: https://www.youtube.com/watch?v=_hOBAGKLQkI