mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-10 01:16:06 +00:00
Today we assume a device node under /sys/devices/pciXXXX:XX/ always contain a `config` file which shows the configuration space of the PCI functions. This seems not the case for, at least, Non-Transparent Bridge (or NTB). This patch checks the existence of the `config` file and skips PCI functions which do not contain one. Tracked-On: #6902 Signed-off-by: Junjie Mao <junjie.mao@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com> |
||
---|---|---|
.. | ||
__init__.py | ||
caps.py | ||
extcaps.py | ||
header.py |