libxl: extend IGD check
PATCH 1/1 libxl: extend IGD check
Consider also "Display controller" an IGD, not only "VGA compatible controller". Specifically, IGD on Raptor Lake has 0x038000 class, not 0x030000.
Signed-off-by Marek Marczykowski-Górecki <[email protected]>
--- tools/libs/light/libxl_pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/libs/light/libxl_pci.c +1 -1
@@ -635,7 +635,7 @@ bool libxl__is_igd_vga_passthru(libxl__gc *gc,if (sysfs_dev_get_class (gc, pci, &class))continue ; -if (class ==0x030000 ) +if (class ==0x030000 || class ==0x038000 )return true; }
Signature · 1 line
2.46.0
Quoted 5 lines · Marek Marczykowski-Górecki
Consider also "Display controller" an IGD, not only "VGA compatible controller". Specifically, IGD on Raptor Lake has
0x038000class, not0x030000.Signed-off-by Marek Marczykowski-Górecki <[email protected]>
Acked-by Anthony PERARD <[email protected]>
Thanks,
--
Anthony Perard | Vates XCP-ng Developer
XCP-ng & Xen Orchestra - Vates solutions
web: https://vates.tech