
- Any graphic controller is being blacklisted for PCI Passthrough by Kimchi. However, newer cards is supported by qemu/libvirt. Signed-off-by: Jose Ricardo Ziviani <joserz@linux.vnet.ibm.com> --- model/hostdev.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/model/hostdev.py b/model/hostdev.py index 93c47d3..c9d9876 100644 --- a/model/hostdev.py +++ b/model/hostdev.py @@ -58,13 +58,14 @@ def _get_dev_info_tree(dev_infos): def _is_pci_qualified(pci_dev): # PCI bridge is not suitable to passthrough - # KVM does not support passthrough graphic card now + # KVM does not support passthrough graphic card now but supports + # 3D controller blacklist_classes = (0x030000, 0x060000) with open(os.path.join(pci_dev['path'], 'class')) as f: pci_class = int(f.readline().strip(), 16) - if pci_class & 0xff0000 in blacklist_classes: + if pci_class != 0x030200 and pci_class & 0xff0000 in blacklist_classes: return False return True -- 1.9.1