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

fbeye

Member
Jan 19, 2023
35
1
8
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
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!