未验证 提交 6e2ce2a1 编写于 作者: C Cleber Rosa

Merge remote-tracking branch 'narasimhan-v/pci_bridge_handling'

Signed-off-by: NCleber Rosa <crosa@redhat.com>
......@@ -52,7 +52,7 @@ def get_pci_addresses():
addresses = []
cmd = "lspci -D"
for line in process.system_output(cmd).splitlines():
if "PCI bridge" not in line and "System peripheral" not in line:
if not get_pci_prop(line.split()[0], 'Class').startswith('06'):
addresses.append(line.split()[0])
if addresses:
return addresses
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册