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] GFX Passthrough

To: Tobias Geiger <tobias.geiger@xxxxxxxxx>
Subject: Re: [Xen-devel] GFX Passthrough
From: Weald Wind <wealdwind@xxxxxxxxx>
Date: Mon, 10 May 2010 15:25:46 -0400
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, listmail <listmail@xxxxxxxxxxxx>
Delivery-date: Mon, 10 May 2010 12:26:29 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=sgFm/SjBCboC8uWWCAL103JHWAZl6e14T3p0N7LHWIY=; b=ilwFXwNhS91pWqJqMBZqEhbJAj01zcEJLnUAlSxiYE/nGhkkm/Opz1deejcPQMwm1C 4cpFoEzX43im+F/vXXB7hbtiFSAkEVTdpVF87TcjyXSHya4vlUuwkXi+mCopkldFqDY9 cCMynxD4RiLX/dX0BNA/c50ulrnDLjc0gSz4o=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=df/xk5h1vlxqlykUB2TJhGG3G0qssuqHL2qyK0Z3HkjZNQ2VSje27ge7Nk1UI0J8ze 4g/gGtYoF0wkakVFIZ1ehb3u73ra8HHVJOiztap7CVO8TH57J8GSOXGgHDw0MKPP7q84 5zMELOtY5rmjkwoUcmi7w6lo8waxQvYn6e7VA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <201005101757.48549.tobias.geiger@xxxxxxxxx>
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: <201005101636.18996.tobias.geiger@xxxxxxxxx> <4BE828CC.6000503@xxxxxxxxxxxx> <201005101757.48549.tobias.geiger@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi Alll,
 
Does the Xen4.0.0 include all the patches needed to support the second vga card passthrough?
 
Or I have to download the unstable version and patch the source manually and rebuild?
 
Thanks
 
Charles
 


 
On Mon, May 10, 2010 at 11:57 AM, Tobias Geiger <tobias.geiger@xxxxxxxxx> wrote:
Hi,

i don't know if FLR is necessary - my motherboard has it (Intel DX58SO, also
explicitly enabled in the BIOS), but i don't know if its a strict requirement,
sorry.

VGA output on the attached monitor starts with the guest OS (windows xp i.e.),
meaning i dont see the qemu-bios output, no. First thing i see is the Windows-
Logo like this:
http://www.simplehelp.net/images/boot_windows_faster/boot_faster00.png)

Greetings
Tobias

Am Montag 10 Mai 2010 17:39:56 schrieb listmail:
> When secondary vga pt is used, is FLR still required?  Do you have vga
> output as soon as the qemu bios comes up?  Or is it what some people
> report where output doesn't show up until later on in the kernel/windows
> boot process?   I have been hoping that maybe some experimental patches
> for FLR support crop up to test vga pt again on my 8800gts.
>
> Tobias Geiger wrote:
> > Hi List,
> >
> > many People seem to be interested in the Graphic-Card Passthrough Feature
> > (for more or less obvious reasons).
> >
> > Official Support is still under development, and i hope not to interfere
> > with it in any (bad) way ...
> >
> > But i remember my own painfull and timeconsuming research when i wanted
> > this feature to work, so i thought perhaps this spares some time for the
> > unpatient users like me :)
> >
> > So here is what i did to enable Passthrough of my Secondary PCIE
> > Graphic-Card which is a NVIDIA GT200;
> >
> > Key thing seems to be the Patches 1 to 4
> > (Patch #5 is only so that i have alsa-backed sound emulation , for some
> > reason i have only oss-backed if not applied ?!)
> >
> > Before all that, you need to read out the VGA Bios of the
> > to-be-passthroughed- Graphiccard with a tool; i used nvflash.exe under
> > DOS for this task. The patches assume you saved this file as
> > "vgabios-pt.bin"
> >
> > 1. check out xen unstable:
> >     hg clone http://xenbits.xensource.com/xen-unstable.hg
> > 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"
> >
> > Thats it.
> >
> > Warning: a "make clean" deletes the "vgabios-pt.bin" file , so remember
> > to put it there again before your next "make" ...
> >
> > After that, and assuming your hardware/bios is VT-D ready and your
> > XEN-PCI Config is correct (kernel-cmdline, xen-configfile), the HVM guest
> > should be able to work with the passedthrough-Graphicscard.
> >
> > Greetings, Good luck, and THANK YOU XEN-GUYS!
> > Tobias
> >
> > P.S.: NONE of the patches are my origin. they were gathered from here
> > (xen- devel) and endless google-researches, representing the hard
> > brainwork of much smarter guys than me ;)
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@xxxxxxxxxxxxxxxxxxx
> > http://lists.xensource.com/xen-devel
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
>

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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>