All of lore.kernel.org
 help / color / mirror / Atom feed
From: listmail <listmail@triad.rr.com>
To: Tobias Geiger <tobias.geiger@vido.info>
Cc: xen-devel@lists.xensource.com
Subject: Re: GFX Passthrough
Date: Mon, 10 May 2010 11:39:56 -0400	[thread overview]
Message-ID: <4BE828CC.6000503@triad.rr.com> (raw)
In-Reply-To: <201005101636.18996.tobias.geiger@vido.info>

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@lists.xensource.com
> http://lists.xensource.com/xen-devel

  reply	other threads:[~2010-05-10 15:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-10 14:36 GFX Passthrough Tobias Geiger
2010-05-10 15:39 ` listmail [this message]
2010-05-10 15:57   ` Tobias Geiger
2010-05-10 19:25     ` Weald Wind
2010-05-10 19:53       ` Pasi Kärkkäinen
2010-05-10 19:53 ` Pasi Kärkkäinen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BE828CC.6000503@triad.rr.com \
    --to=listmail@triad.rr.com \
    --cc=tobias.geiger@vido.info \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.