All of lore.kernel.org
 help / color / mirror / Atom feed
* Patches for VGA-Passthrough XEN 4.2 unstable
@ 2011-05-18 11:47 JavMV
  2011-05-23 10:48 ` Stefano Stabellini
                   ` (2 more replies)
  0 siblings, 3 replies; 102+ messages in thread
From: JavMV @ 2011-05-18 11:47 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 2168 bytes --]


Hello, I have been working on VGA-passthrough in the last month.

When Xen was at his version 3.5 there was a few patches to make this work for some graphic cards using the patches developed by Han Weidong and posted here (http://lists.xensource.com/archives/html/xen-devel/2009-08/msg01176.html) and the same patches posted file by file are here (http://lists.xensource.com/archives/html/xen-devel/2010-05/msg00441.html)  but now this patches doesn't work on Xen-4.2 unstable because the source 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.

This patch set should work for the same graphic cards that it worked on the past (NVIDIA GT200, Geforce 8400 GS ...).

The steps are the same:

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 (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 patch "qemu-claim-vga-cycle-for-secondary-gfx-passthrough.patch<http://lists.xensource.com/archives/html/xen-devel/2009-08/binfGEJAiR8ZA.bin>" but if anyone need it I can do it too.

Unfortunately these patches don't work for my NVIDIA GTX460 graphic card. If anybody knows how can I make VGA-Passtrhough for this one it would be great! (Or if it is not possible tell me too plz)

I hope you find this helpful.





-----
JavMV
--
View this message in context: http://xen.1045712.n5.nabble.com/Patches-for-VGA-Passthrough-XEN-4-2-unstable-tp4406265p4406265.html
Sent from the Xen - Dev mailing list archive at Nabble.com.

[-- Attachment #1.2: Type: text/html, Size: 5345 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 102+ messages in thread

end of thread, other threads:[~2012-02-20 13:32 UTC | newest]

Thread overview: 102+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-18 11:47 Patches for VGA-Passthrough XEN 4.2 unstable JavMV
2011-05-23 10:48 ` Stefano Stabellini
2011-05-23 12:35   ` Pasi Kärkkäinen
2011-05-23 12:49     ` Pavel Mateja
2011-05-30 10:53       ` JavMV
2011-05-31 12:10         ` JavMV
2011-06-23 19:18           ` JavMV
2011-06-27 15:33             ` Konrad Rzeszutek Wilk
2011-06-27 15:42               ` JavMV
     [not found] ` <1312297850948-4659036.post@n5.nabble.com>
2011-08-30 10:21   ` komkon555
2011-08-30 13:55     ` JavMV
2011-08-30 15:00       ` komkon555
2011-08-30 16:06         ` JavMV
2011-08-31  8:16           ` komkon555
2011-08-31  8:38             ` Pasi Kärkkäinen
2011-08-31  8:49               ` komkon555
2011-08-31 12:56                 ` komkon555
2011-08-31 15:19                   ` Pasi Kärkkäinen
2011-09-05 14:02                     ` David TECHER
2011-09-06 11:57                       ` komkon555
2011-09-06 21:17                         ` Re : " David TECHER
2011-09-07  8:05                           ` komkon555
2011-09-07  9:45                             ` David TECHER
2011-09-07  9:52                             ` Re : " David TECHER
2011-09-07 12:26                               ` komkon555
2011-09-07 12:51                                 ` Re : " David TECHER
2011-09-07 18:52                                   ` Konrad Rzeszutek Wilk
2011-09-07 19:57                                     ` Re : " David TECHER
2011-09-09  1:45                                   ` Weidong Han
2011-09-09  8:07                                     ` komkon555
2011-09-07 13:25                                 ` komkon555
2011-09-07 13:54                                   ` JavMV
2011-09-07 14:22                                     ` Re : " David TECHER
2011-09-07 14:32                                       ` komkon555
2011-09-07 15:22                                         ` JavMV
2011-09-07 16:21                                           ` komkon555
2011-09-07 16:25                                           ` Re : " David TECHER
2011-09-09  7:54                                           ` komkon555
2011-09-09 12:29                                             ` JavMV
2011-09-09 13:28                                             ` Pasi Kärkkäinen
2011-09-09 16:09                                               ` Wei Huang
2011-09-09 19:56                                             ` Re : " David TECHER
2011-09-10 10:27                                               ` Pasi Kärkkäinen
2011-09-21 13:44                                         ` JavMV
2011-09-21 13:56                                           ` komkon555
2011-09-21 14:08                                             ` JavMV
2011-09-21 14:24                                               ` JavMV
2011-09-21 14:32                                               ` komkon555
2011-09-21 14:40                                                 ` komkon555
2011-09-21 14:47                                                   ` komkon555
2011-09-21 14:52                                                     ` JavMV
2011-09-21 15:13                                                       ` Re : " David TECHER
2011-09-22 12:15                                                         ` JavMV
2011-09-22 12:45                                                           ` komkon555
2011-09-22 12:55                                                             ` JavMV
2011-09-22 17:41                                                               ` JavMV
2011-09-22 18:27                                                           ` Pasi Kärkkäinen
2011-09-22 21:54                                                             ` JavMV
2011-09-23 11:34                                                               ` JavMV
2011-09-23 14:00                                                                 ` JavMV
2011-09-23 14:52                                                                   ` JavMV
2011-09-23 15:12                                                                     ` komkon555
2011-09-23 17:21                                                                   ` Pasi Kärkkäinen
2011-10-15 10:00                                                                     ` David TECHER
2011-10-26 11:54                                                                       ` Zoltan Hubai
2011-10-26 13:35                                                                         ` Re : " David TECHER
2011-10-27  5:58                                                                           ` Zoltan Hubai
2011-10-27 10:14                                                                             ` Re : " David TECHER
2011-12-05 22:26                                                                               ` n4rC0t1C
2011-12-06 11:22                                                                                 ` Re : " David TECHER
2011-12-06 12:04                                                                                   ` n4rC0t1C
2011-12-06 13:57                                                                                     ` Re : " David TECHER
2011-12-06 15:19                                                                                       ` Tobias Geiger
2011-12-06 15:56                                                                                         ` Re : " David TECHER
2011-12-06 22:28                                                                                         ` David TECHER
2011-12-07 11:01                                                                                           ` n4rC0t1C
2011-12-07 11:44                                                                                           ` Tobias Geiger
2011-12-10  8:12                                                                                   ` Sythrar
2011-12-10 12:29                                                                                     ` n4rC0t1C
2011-12-13 21:03                                                                                       ` Sythrar
2011-12-14  9:43                                                                                         ` Tobias Geiger
2011-12-14 13:37                                                                                           ` n4rC0t1C
2012-02-16 13:38                                                                                           ` Jamesffs
2012-02-17  8:34                                                                                             ` Tobias Geiger
2012-02-17 11:32                                                                                               ` Jamesffs
2012-02-17 16:19                                                                                                 ` Tobias Geiger
2012-02-20 11:55                                                                                                   ` Jamesffs
2012-02-20 12:16                                                                                                     ` Jamesffs
2012-02-20 13:32                                                                                                       ` Tobias Geiger
2011-12-10 12:29                                                                                     ` n4rC0t1C
2011-09-09 11:31 ` Liwei
2011-09-09 16:17   ` Wei Huang
2011-09-09 16:42     ` Liwei
2011-09-12 12:49   ` Tobias Geiger
2012-01-05 23:15   ` romihs
2012-01-06  1:13     ` n4rC0t1C
2012-01-06 14:23       ` Re : " David TECHER
2012-01-06 16:22         ` -+= Lta =+-
2012-01-06 16:34           ` n4rC0t1C
2012-01-06 16:51             ` -+= Lta =+-
2012-01-06 16:58               ` Re : " David TECHER
2012-01-06 17:00                 ` David TECHER

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.