Fix handling larger root complex with PCI path#676
Conversation
Larger systems have multiple root buses, adjust handling appropriately.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #676 +/- ##
=======================================
Coverage 70.37% 70.38%
=======================================
Files 61 61
Lines 12898 12902 +4
=======================================
+ Hits 9077 9081 +4
Misses 3821 3821
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
OpenQA test summaryComplete test suite and dependencies: https://openqa.qubes-os.org/tests/overview?distri=qubesos&version=4.3&build=2025042414-4.3&flavor=pull-requests Test run included the following:
New failures, excluding unstableCompared to: https://openqa.qubes-os.org/tests/overview?distri=qubesos&version=4.3&build=2025031804-4.3&flavor=update
Failed tests10 failures
Fixed failuresCompared to: https://openqa.qubes-os.org/tests/132953#dependencies 13 fixed
Unstable testsDetailsPerformance TestsPerformance degradation:14 performance degradations
Remaining performance tests:58 tests
|
| dev[3:].replace(":", "_") | ||
| for dev in os.listdir(f"{SYSFS_BASE}/devices") | ||
| if dev.startswith("pci") | ||
| ] |
There was a problem hiding this comment.
This matches more than actual root buses:
$ ls -1d /sys/devices/pci*
/sys/devices/pci-101-0
/sys/devices/pci-59-0
/sys/devices/pci0000:00
$
Those other devices are coming from xen-pciback. Given the usage of the result, harmless, I think, but probably not intended.
Larger systems have multiple root buses, adjust handling appropriately.