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/
Home Products Support Community News


Re: [Xen-devel] [PATCH 1/2] graphics passthrough with VT-d

To: "Han, Weidong" <weidong.han@xxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 1/2] graphics passthrough with VT-d
From: Jean Guyader <jean.guyader@xxxxxxxxxx>
Date: Fri, 28 Aug 2009 09:12:32 +0100
Cc: "'xen-devel@xxxxxxxxxxxxxxxxxxx'" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "Lin, Ben Y" <ben.y.lin@xxxxxxxxx>, "Kay, Allen M" <allen.m.kay@xxxxxxxxx>, Fraser <Keir.Fraser@xxxxxxxxxxxxx>, Keir, "'bengheng@xxxxxxxxxxxxxx'" <bengheng@xxxxxxxxxxxxxx>
Delivery-date: Fri, 28 Aug 2009 01:13:14 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <715D42877B251141A38726ABF5CABF2C054B533682@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: <715D42877B251141A38726ABF5CABF2C054B533682@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.20 (2009-06-14)
On Fri, Aug 28, 2009 at 03:54:05AM -0400, Han, Weidong wrote:
> This patch supports basic gfx passthrough on xen side:
>   - retrieves VGA bios from host VGA BIOS address (0xC0000), then load it to 
> guest VGA BIOS address (This is the same with XCI).
>   - Enlarge guest MMIO range to contain gfx card's large memory 
>   - add a config option 'gfx_passthru' for gfx passthrough
> Signed-off-by: Ben Lin <ben.y.lin@xxxxxxxxx>
> Signed-off-by: Weidong Han <weidong.han@xxxxxxxxx>


First thanks for taking the time to upstream those patch
that will help a lot.

I think the patch will be let intrusive if we could do all
that bios mapping + copying inside qemu so we don't need to
modify the xc_hvm_build function.

Qemu starts before the bios so that should be doable.


Xen-devel mailing list