A fix has been merged for 4.2. Currently in testing
repo (shouldn’t be long to reach the stable
repo).
Don’t know if it will be applied to 4.1 (for now, it’s not in 4.1 current-testing
)
Related github issue:
Listing PCI devices breaks when there is some with non-0000 PCI domain #6932
Related forum post:
https://forum.qubes-os.org/t/major-problem-with-qvm-pci-and-devices-in-general/8359/16
From the pull request:
Ignore PCI devices on non-0000 domain instead of crashing #560
This is a quick band-aid to unbreak Qubes on systems having such device.
Later change should implement handling them properly instead of ignoring.
As you have 4.1 and the fix is not in this version (don’t know if it will, probably yes), either apply the fix from the forum post (link above) or directly from the commit:
https://github.com/QubesOS/qubes-core-admin/pull/560/commits
the file in dom0
is there:
/usr/lib/python3.11/site-packages/qubes/ext/pci.py