WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel][PATCH 0/3] VT-d: support Intel IGD passthrough

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel][PATCH 0/3] VT-d: support Intel IGD passthrough
From: "Han, Weidong" <weidong.han@xxxxxxxxx>
Date: Thu, 4 Feb 2010 16:29:18 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>, "Kay, Allen M" <allen.m.kay@xxxxxxxxx>
Delivery-date: Thu, 04 Feb 2010 01:28:04 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C79034C5.8FAA%keir.fraser@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <60E426D47DE8EA47AA104E65008A100D1621AFC6F3@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <C79034C5.8FAA%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcqlccF3RX+Zw0IfTOeQunU5o8d+KAAAbuC0AAATkiA=
Thread-topic: [Xen-devel][PATCH 0/3] VT-d: support Intel IGD passthrough
Oops, I forgot to CC Ian. 

It's weird the 2/3 patch was not sent out successfully. I will resend out it 
soon.

Regards,
Weidong

-----Original Message-----
From: Keir Fraser [mailto:keir.fraser@xxxxxxxxxxxxx] 
Sent: Thursday, February 04, 2010 4:25 PM
To: Han, Weidong; xen-devel@xxxxxxxxxxxxxxxxxxx
Cc: Kay, Allen M; Ian Jackson
Subject: Re: [Xen-devel][PATCH 0/3] VT-d: support Intel IGD passthrough 

Cc'ing Ian Jackson for applying patch 1/3. And I didn't receive your patch
2/3. I've received and will apply your patch 3/3 however.

 -- Keir

On 04/02/2010 08:12, "Han, Weidong" <weidong.han@xxxxxxxxx> wrote:

> 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@xxxxxxxxx>



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel