未验证 提交 d4639529 编写于 作者: Q Qianqian Zhu 提交者: GitHub

Merge pull request #2692 from quanwenli/pcie

Plug 'vfio-pci' into pcie-root-port instead of pcie.0
......@@ -321,7 +321,7 @@ class QBaseDevice(object):
def is_pcie_device(self):
"""Check is it a pcie device"""
driver = self.get_param("driver", "")
if (driver in ("e1000e", "vhost-vsock-pci", "qemu-xhci")
if (driver in ("e1000e", "vhost-vsock-pci", "qemu-xhci", "vfio-pci")
or driver.startswith("virtio-")):
return True
return False
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册