Hi all,
Very sorry if the topic is already adressed (pun intended)
I read the documentation of Iommu and this behaviour doesn't seems to be covered (or incompatible jargon)
Is there a way to ensure that IOMMU device adress shifts along with hardware changes?
IOMMU id's seems to be arbitrairy indexed from 1 to X to whatever PCIe devices availlable.
If a IOMMU id 5 is given to a VM, hardware changes could make this ID shift to 6 and now, another pci device will be passed to the vm.
Let me show two examples to make sure where I'm going to.
-Got a LSI HBA passthrough for one of my vms. ID 5
-If I add one NIC inside the system and boot proxmox. This nic is now the device passed through instead. Because Nic is now ID5 and ID6 is now my HBA.
This previous case is fairly easy to recover from. Simply select the proper PCI device within the GUI and launch the VM again.
THis next case is the reason why I'm posting the question.
-I got a NIC passthrough a pfsense VM.
-Now I know that whenever I'll make a hardware change, if will lose connectivity the server if the PCIe order changes.
The only way to recover from that is to physically connect to the other Lan port to correct the wrong adressing and network will be back.
---
I know it's possible to make a correpondance table with SATA ports passthrough with HDD Models serials etc to keep persistence. I can't help but imagine that the issue I'm observing with PCI passthrought is known / solved.
Thanks a lot for pointing me the right direction.
HX
Very sorry if the topic is already adressed (pun intended)
I read the documentation of Iommu and this behaviour doesn't seems to be covered (or incompatible jargon)
Is there a way to ensure that IOMMU device adress shifts along with hardware changes?
IOMMU id's seems to be arbitrairy indexed from 1 to X to whatever PCIe devices availlable.
If a IOMMU id 5 is given to a VM, hardware changes could make this ID shift to 6 and now, another pci device will be passed to the vm.
Let me show two examples to make sure where I'm going to.
-Got a LSI HBA passthrough for one of my vms. ID 5
-If I add one NIC inside the system and boot proxmox. This nic is now the device passed through instead. Because Nic is now ID5 and ID6 is now my HBA.
This previous case is fairly easy to recover from. Simply select the proper PCI device within the GUI and launch the VM again.
THis next case is the reason why I'm posting the question.
-I got a NIC passthrough a pfsense VM.
-Now I know that whenever I'll make a hardware change, if will lose connectivity the server if the PCIe order changes.
The only way to recover from that is to physically connect to the other Lan port to correct the wrong adressing and network will be back.
---
I know it's possible to make a correpondance table with SATA ports passthrough with HDD Models serials etc to keep persistence. I can't help but imagine that the issue I'm observing with PCI passthrought is known / solved.
Thanks a lot for pointing me the right direction.
HX
Last edited: