mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-10 14:57:42 +00:00
9a3d7a4778
When determining if a device is behind a PCI bridge, the PCI device class is checked by reading the config space. However, there are some devices which have the wrong class on the config space, but the class is initialized by Linux correctly as a PCI BRIDGE. This class can be read by the sysfs file '/sys/bus/pci/devices/xxxx:xx:xx.x/class'. One example of such bridge is IBM PCI Bridge 1014:03b9, which is identified as a Host Bridge when reading the config space. Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@linux.vnet.ibm.com> |
||
---|---|---|
.. | ||
0000:00:01.0.config | ||
0000:00:02.0.config | ||
0000:00:03.0.config | ||
0001:00:00.0.config | ||
0001:01:00.0.config | ||
0001:01:00.1.config | ||
0005:80:00.0.config | ||
0005:90:01.0.config | ||
0005:90:01.1.config | ||
0005:90:01.2.config |