[Whole] Proxmox crashes when starting a VM which I 'pass-through' a NIC

fbeye

Member
Jan 19, 2023
42
1
13
Hi there.
HPE Proliant DL380 GEN10. Verified pass-through enabled, and also used it for a GPU and again verified. I have 4 NIC's, seems 0,1,2,3. I choose, and verify, NIC #4 which is 0000:02:00.3. I apply it and start the VM and it all crashes. The only error I see is;


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

But I also get this, so I assume it is working;

Code:
dmesg | grep IOMMU   
[    0.000000] DMAR: IOMMU enabled
[    0.000000] DMAR-IR: IOAPIC id 10 under DRHD base  0xfbffc000 IOMMU 0
[    0.000000] DMAR-IR: IOAPIC id 8 under DRHD base  0xc7ffc000 IOMMU 1
[    0.000000] DMAR-IR: IOAPIC id 9 under DRHD base  0xc7ffc000 IOMMU 1