I am trying to pass through a NIC to one of my VMs. I have one NIC with 4 ports and 1 nic with 2 port which I want to pass through to a VM.
DMAR: IOMMU enabled
DMAR-IR: Enabled IRQ remapping in x2apic mode
DMAR: Intel(R) Virtualization Technology for Directed I/O
I verified my hardware supports it, I have a dell server based on E5 Xeon v2, I also checked the I have the iommu groups isolated, meaning that the two ports card is in the same group (and nothing else is in this group).
I followed the instruction online listing the lspci and lspci -t and updated the VMs config accordingly.
machine: q35
hostpci0: 04:00.0,pcie=1
hostpci1: 04:00.1,pcie=1
where 04:00:0 and 04:00:1 are the PCIe ports of the same NIC.
I can see the card (with 2 ports) passed through to the VM when issued lspci at the VMs terminal:
01:00:0 - Ethernet Controller Broadcom Corporation BCM5720
02:00:0 - Ethernet Controller Broadcom Corporation BCM5720
..but when I try to bring the interfaces up and configure the network I get kernel panic with not syncing, fatal hardware error.
Does anybody have any suggestions of how to fix it or troubleshoot further ?
Thank you
DMAR: IOMMU enabled
DMAR-IR: Enabled IRQ remapping in x2apic mode
DMAR: Intel(R) Virtualization Technology for Directed I/O
I verified my hardware supports it, I have a dell server based on E5 Xeon v2, I also checked the I have the iommu groups isolated, meaning that the two ports card is in the same group (and nothing else is in this group).
I followed the instruction online listing the lspci and lspci -t and updated the VMs config accordingly.
machine: q35
hostpci0: 04:00.0,pcie=1
hostpci1: 04:00.1,pcie=1
where 04:00:0 and 04:00:1 are the PCIe ports of the same NIC.
I can see the card (with 2 ports) passed through to the VM when issued lspci at the VMs terminal:
01:00:0 - Ethernet Controller Broadcom Corporation BCM5720
02:00:0 - Ethernet Controller Broadcom Corporation BCM5720
..but when I try to bring the interfaces up and configure the network I get kernel panic with not syncing, fatal hardware error.
Does anybody have any suggestions of how to fix it or troubleshoot further ?
Thank you