From: Jean Guyader Date: Tue, 21 Jun 2011 16:56:35 +0000 (+0100) Subject: passthrough: IGFX passthrough fix SNB GGC X-Git-Tag: xen-4.2.0-rc1~42 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=9044864b96661c8f5a69ab3d559f9939a716b3c8;p=qemu-xen-4.4-testing.git passthrough: IGFX passthrough fix SNB GGC The GGC field have moved from 0x52 to 0x50 on Sandy Bridge. Signed-off-by: Jean Guyader --- diff --git a/hw/pt-graphics.c b/hw/pt-graphics.c index e3fdf8ef7..d44492101 100644 --- a/hw/pt-graphics.c +++ b/hw/pt-graphics.c @@ -70,6 +70,7 @@ uint32_t igd_pci_read(PCIDevice *pci_dev, uint32_t config_addr, int len) { case 0x00: /* vendor id */ case 0x02: /* device id */ + case 0x50: /* SNB: processor graphics control register */ case 0x52: /* processor graphics control register */ case 0xa0: /* top of memory */ case 0xb0: /* ILK: BSM: should read from dev 2 offset 0x5c */