Proxmox PVE: passthrough of non-GPU + split IOMMUs

Step-by-Step descriptions of how to do things.
Post Reply
User avatar
peter_b
Chatterbox
Posts: 381
Joined: Tue Nov 12, 2013 2:05 am

Proxmox PVE: passthrough of non-GPU + split IOMMUs

Post by peter_b »

I'm passing through a Blackmagic Decklink SDI video capture card to a virtual machine on Proxmox PVE.

The mainboard is an MSI Mortar B450M Max.
Using any of the available 2 PCIe slots always put my Decklink card into a shared IOMMU group - that also contained many other onboard devices, such as network and disk-controller.

Therefore it was necessary to enable the `pcie_acs_override` kernel option in `/etc/default/grub`:

Code: Select all

GRUB_CMDLINE_LINUX_DEFAULT="iommu=pt amd_iommu=on pcie_acs_override=downstream,multifunction"
The other "iommu" parameters were required to passthrough the nvidia GPU (had its separate IOMMU even without ACS override).
After setting the ACS override parameter according to Documentation from ArchLinux Wiki to `downstream,multifunction` - I now have all devices on the machine in separate IOMMU groups.

The simply add "PCI device" as hardware to the desired VM and you're good to go!
Post Reply