]> xenbits.xensource.com Git - qemu-xen-4.6-testing.git/commitdiff
Intel GPU passthrough: Host bridge config space
authorJean Guyader <jean.guyader@eu.citrix.com>
Mon, 20 Feb 2012 16:21:47 +0000 (16:21 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Mon, 20 Feb 2012 16:21:47 +0000 (16:21 +0000)
Expose more host bridge config space value to make the driver happy
for all the different revisions of the device.

Signed-off-by: Jean Guyader <jean.guyader@eu.citrix.com>
hw/pt-graphics.c

index d4f11db370cc026fea375c6809460e86a62c86e6..9c41f3e39b211bd12ced3c7bfb8114cbded5fa2a 100644 (file)
@@ -89,6 +89,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 */