Proxmox, PCI Passthrough, HP Proliant server

Server Specs:
HP Proliant DL380 G7
2x Intel Xeon X5650 @ 2.67 GHz | 6 Core - 12 Threads
72 GB DDR3 ECC RAM

I followed this guide “The Ultimate Beginner’s Guide to GPU Passthrough (Proxmox, Windows 10)” on reddit/r/homelab (cannot post the link).

But now that I try to pass through my 10gig NIC I keep getting this error message on startup:

kvm: -device vfio-pci,host=0000:0e:00.0,id=hostpci0,bus=pci.0,addr=0x10,rombar=0: vfio 0000:0e:00.0: failed to setup container for group 39: Failed to set iommu for container: Operation not permitted
TASK ERROR: start failed: QEMU exited with code 1

Does anybody have an idea as to what could be wrong?

I had the same issue with some devices but managed to sort it. It’s specific to HP servers and explained on this forum. I can’t post links so you’ll have to search for

Dl380p proxmox pci passthrough “Operation not permitted”

then look for the response by

Michael_Schwartz

Signed up just to thank you for this post as its the top hit on Bing.

My first time using Proxmox instead of Vmware on some old HP hardware and I ran into exactly this.