From: Jean Guyader Subject: Re: Experimental results for VGA passthrough Date: Tue, 9 Jun 2009 23:28:16 +0100 Message-ID: References: <4A27FFB0.6060108@eecs.umich.edu> <4A2CA37B.4060206@eecs.umich.edu> <4A2D1748.8070007@eecs.umich.edu> <4A2D1F58.4000001@eecs.umich.edu> <4A2D3905.4030302@eecs.umich.edu> <4A2D3A07.5040105@eecs.umich.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4A2D3A07.5040105@eecs.umich.edu> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Beng Heng, Ng" Cc: Andrew Lyon , Xen-devel List-Id: xen-devel@lists.xenproject.org Yes, here are the value we need to fake and the raison why: - GMCH, when the vgabios execute at actually check this register in the host bridge (bdf 0:0.0, offset 0x52). On the intel platform this register is there to identify the amount of stolen memory and therefore the supported resolution in legacy mode (VGA/VESA). - VID/DID. Linux check that. If it doesn't match with the graphic card it doesn't reconise the chipset and doesn't create the agpgart. - OpRegion address. Not sure about this one, but when you shutdown/sleep vista if this value is present the driver will try to save some information in a ACPI NVS region. All those register are public you can find some more information about those here: www.intel.com/Assets/PDF/datasheet/319970.pdf Jean 2009/6/8 Beng Heng, Ng : > Also, you mentioned earlier that we need to return some fake values to > the host bridge. Would appreciate if you could explain, or refer me to > some writeups on this. Thanks. > > - Beng Heng > > Beng Heng, Ng wrote: >> Could you elaborate? Thanks. >> >> - Beng Heng >> >> Jean Guyader wrote: >>> 2009/6/8 Beng Heng, Ng : >>>> Uses the driver included in the patch to initialize the graphics card. >>>> This is my own flag. I'm not sure what Jean's plans are. >>> The intel code for qemu you've found is not made for that. >>> >>> Jean >>> >>> _______________________________________________ >>> Xen-devel mailing list >>> Xen-devel@lists.xensource.com >>> http://lists.xensource.com/xen-devel >> >> >> _______________________________________________ >> Xen-devel mailing list >> Xen-devel@lists.xensource.com >> http://lists.xensource.com/xen-devel > >