pci_passthrough, pci_alias and PCI subsystem vendor ID?

asked 2016-12-20 11:18:31 -0500

gomgom gravatar image

Hi,

I am working on a set of custom co-processing PCI boards (not networking cards). I need to identify systems hosting these boards, for resource allocation etc... The solution apparently relies on pci_passthrough, used as a property for the flavors I need to create.

One thing is that pci_passthrough seems to be able to rely only on the PCI Vendor and Device ID, but ignores the Subsystem fields. The problem being that it is not always desirable, or even possible, to change the Vendor and Device ID in the PCIe endpoint device. In fact, when designing a board relying on a 3rd party PCI IC, these fields should be left to the IC manufacturer's values. Only the Subsystem fields should be set to the board developer's custom values, reflecting the specific implementation for that IC.

Is there a way to use the Subsystem Vendor and Device ID fields in the pci_alias definition? I don't even know if libvirt exposes these fields...

edit retag flag offensive close merge delete