]> xenbits.xensource.com Git - qemu-xen-4.1-testing.git/commit
passthrough: support Intel IGD passthrough with VT-D
authorIan Jackson <ian.jackson@eu.citrix.com>
Thu, 4 Feb 2010 17:04:48 +0000 (17:04 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Thu, 4 Feb 2010 17:04:48 +0000 (17:04 +0000)
commitd463cfee458bacfe1ee3cb9c3b4ce46a6be06edf
treed535197594e02eebaba1dae2e8df2cbc42ca0845
parent575ed1016f6fba1c6a6cd32a828cb468bdee96bb
passthrough: support Intel IGD passthrough with VT-D

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 ssume the IGD BDF (bus:device:function) is
always 00:02.0, so this patch reserves 00:02.0 for assigned IGD in
guest.

(Patch modified slightly by Ian Jackson.)

Signed-off-by: Weidong Han <weidong.han@intel.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
hw/pass-through.c
hw/pass-through.h
hw/pci.c