@@ -130,7 +130,19 @@
#define PCI_DEVICE_ID_INTEL_ICH9_5 0x2919
#define PCI_DEVICE_ID_INTEL_ICH9_6 0x2930
#define PCI_DEVICE_ID_INTEL_ICH9_7 0x2916
-#define PCI_DEVICE_ID_INTEL_ICH9_8 0x2918
+
+/* TODO: Replace this hack for a non-hack!
+ * PCI_DEVICE_ID_INTEL_ICH9_8 must be set to
+ * `setpci -s 00:1f.0 0x02.w` (LPC device id)
+ * of the host - so that guest LPC represents
+ * the archiecture of device 2 (IGD). This is
+ * important to i915 kernel module */
+#define BEARLAKE 0x2918 // QEMU DEFAULT
+#define COUGARPOINT 0x1c4e
+#define PANTHERPOINT 0x
+#define LYNXPOINT 0x8c4e
+
+#define PCI_DEVICE_ID_INTEL_ICH9_8 COUGARPOINT
#define PCI_DEVICE_ID_INTEL_82801I_UHCI1 0x2934
#define PCI_DEVICE_ID_INTEL_82801I_UHCI2 0x2935