xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] VT-d: support Intel IGD passthrough
@ 2010-02-04  8:12 Han, Weidong
  2010-02-04  8:24 ` Keir Fraser
  2010-02-04 12:15 ` Christian Tramnitz
  0 siblings, 2 replies; 8+ messages in thread
From: Han, Weidong @ 2010-02-04  8:12 UTC (permalink / raw)
  To: xen-devel@lists.xensource.com; +Cc: Kay, Allen M, Keir Fraser

The patchset supports Intel IGD passthrough in Xen. There are some assumptions/dependencies on chipset, VBIOS, and even drivers for IGD. But virtual platform is not aware of it. This patchset handles it to make IGD work in guest. What's more, FLR capability of IGD is not exposed on some platforms, this patchset uses vendor specific FLR to reset those IGDs.

Also add an option into hvm config file to enable graphics passthrough.

The patchset was tested in Intel McCreary platform, guest WinXP, Win7 and Linux all worked. 

Patch 1: qemu-igd.patch:
	Some registers of Intel IGD are mapped in host bridge, so it needs to passthrough these registers of physical host bridge to guest because emulated host bridge in guest doesn't have these mappings. 
	Some VBIOSs and drivers assume the IGD BDF (bus:device:function) is always 00:02.0, so this patch reserves 00:02.0 for assigned IGD in guest.

Patch 2: igd-flr.patch:
	Due to FLR capability of IGD is not exposed on some platforms, this patch uses vendor specific FLR to reset those IGDs.

Patch 3: gfx-conf.patch:
	The patch adds an option into hvm config file to enable graphics passthrough including discrete and IGD. To passthrough graphics to guest, need to set gfx_passthru=1, and also specify graphics device BDF in pci passthrough option, like pci=['xx:xx.x'] in hvm config file.


Signed-off-by: Weidong Han <weidong.han@intel.com>

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-02-13 12:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-04  8:12 [PATCH 0/3] VT-d: support Intel IGD passthrough Han, Weidong
2010-02-04  8:24 ` Keir Fraser
2010-02-04  8:29   ` Han, Weidong
2010-02-04 12:15 ` Christian Tramnitz
2010-02-05  2:11   ` Han, Weidong
2010-02-06 12:51     ` Andrew Lyon
2010-02-08  3:27       ` Weidong Han
2010-02-13 12:52         ` Sander Eikelenboom

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).