Skip to contentSkip to conversation

Intel GPU passthrough: Host bridge config space

PATCH New [email protected] 1 participant 1 message Jan 12, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Intel GPU passthrough: Host bridge config space

Expose more host bridge config space value to make the driver happy for all the different revisions of the device.

---
 hw/pt-graphics.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
hw/pt-graphics.c +3 -0
index fec7390..17ce8c0 100644
@@ -74,6 +74,9 @@ uint32_t igd_pci_read(PCIDevice *pci_dev, uint32_t config_addr, int len)
     {
         case 0x00:        /* vendor id */
         case 0x02:        /* device id */
+        case 0x08:        /* revision id */
+        case 0x2c:        /* sybsystem vendor id */
+        case 0x2e:        /* sybsystem id */
         case 0x50:        /* SNB: processor graphics control register */
         case 0x52:        /* processor graphics control register */
         case 0xa0:        /* top of memory */

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel