提交 ad75c949 编写于 作者: M Mike Qiu 提交者: Lucas Meneghel Rodrigues

virttest.arcg: add new interface get_qemu_pci_bus_name

For ppc64 and x86, the pci bus name is different as qtree shows,
in qtree, the pci bus named 'pci' for ppc64, but 'pci.0' for x86.

As a result, it will cause an error if use 'pci.0' for ppc64.

This patch is to get the exact pci bus name for different arches.
Signed-off-by: NMike Qiu <qiudayu@linux.vnet.ibm.com>
上级 d27caf0f
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册