From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Stabellini Subject: Re: Patches for VGA-Passthrough XEN 4.2 unstable Date: Mon, 23 May 2011 11:48:00 +0100 Message-ID: References: <6FD49434405AF34C876B114E4733B967EAE633@AMSPRD0202MB101.eurprd02.prod.outlook.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="8323329-608880987-1306147536=:12963" Return-path: In-Reply-To: <6FD49434405AF34C876B114E4733B967EAE633@AMSPRD0202MB101.eurprd02.prod.outlook.com> Content-ID: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: JavMV Cc: Lars, "xen-devel@lists.xensource.com" , Kurth List-Id: xen-devel@lists.xenproject.org --8323329-608880987-1306147536=:12963 Content-Type: text/plain; charset="UTF-8" Content-ID: Content-Transfer-Encoding: quoted-printable On Wed, 18 May 2011, JavMV wrote: >=20 > Hello, I have been working on VGA-passthrough in the last month. >=20 > When Xen was at his version 3.5 there was a few patches to make this wo= rk for some graphic cards using the patches > developed by Han Weidong and posted here (http://lists.xensource.com/ar= chives/html/xen-devel/2009-08/msg01176.html) and > the same patches posted file by file are here (http://lists.xensource.c= om/archives/html/xen-devel/2010-05/msg00441.html)=C2=A0 > but now this patches doesn't work on Xen-4.2 unstable because the sourc= e code has changed. Well, as I am really interested > on VGA-Passthru I have adapted those patches to the new version of xen.= I have attached them for you to try it and want to > know if they are still working. >=20 > This patch set should work for the same graphic cards that it worked on= the past (NVIDIA GT200, Geforce 8400 GS ...). >=20 > The steps are the same: >=20 > Before all that, you need to read out the VGA Bios of the to-be-passthr= oughed- > Graphiccard with a tool; i used nvflash.exe under DOS for this task. > The patches assume you saved this file as "vgabios-pt.bin" >=20 > 1. check out xen unstable: > hg clone http://xenbits.xensource.com/xen-unstable.hg (Or download = the tarball xen-unstable.gz which I did) > 2. go into there and do an "initial build" so that qemu-dm gets checked= -out: > cd xen-unstable.hg; cd tools; make ; make clean > 3. apply the patches from within the "xen-unstable.hg" dir, with patch = -p0 > 4. move the vgabios-pt.bin to "tools/firmware/vgabios/" > 4. do a "make install" > This is only for primary graphic card passthru, I didn't adapt the patc= h "qemu-claim-vga-cycle-for-secondary-gfx-passthrou > gh.patch" but if anyone need it I can do it too. > Unfortunately these patches don't work for my NVIDIA GTX460 graphic car= d. If anybody knows how can I make VGA-Passtrhough=20 > for this one it would be great! (Or if it is not possible tell me too p= lz) > I hope you find this helpful. Thanks for your work! However my MUA cannot open your attachments, could you please send them again, maybe inline one email per patch? I think it is also worth updating the wiki page about VGA passthrough with your patches: http://wiki.xensource.com/xenwiki/XenVGAPassthrough --8323329-608880987-1306147536=:12963 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --8323329-608880987-1306147536=:12963--