From: "billy lau" Subject: Pass-through a graphic card Date: Wed, 29 Oct 2008 12:52:39 -0400 Message-ID: <6b5ba5140810290952l275148d8x59f2258a440a7b87@mail.gmail.com> References: <6b5ba5140810271029k21e7aa6dsa22bfaad874cc798@mail.gmail.com> <4905FC0F.7000801@eu.citrix.com> <6b5ba5140810271202w69f908c6x442dbd95b70ed373@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1402484223==" Return-path: In-Reply-To: <6b5ba5140810271202w69f908c6x442dbd95b70ed373@mail.gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jean Guyader Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1402484223== Content-Type: multipart/alternative; boundary="----=_Part_67754_21611898.1225299159868" ------=_Part_67754_21611898.1225299159868 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Mon, Oct 27, 2008 at 3:02 PM, billy lau wrote: > On Mon, Oct 27, 2008 at 1:36 PM, Jean Guyader wrote: > >> billy lau wrote: >> >>> Hi dear Xen developers, >>> >>> I was actually trying out a patch which was circulated in this mailing >>> list found at >>> http://markmail.org/message/gecwbq4oqttszxvo#query:+page:1+mid:x4ethv65thwrq3e6+state:results >>> . >>> >>> I was using Xen-3.3.0 on Debian etch 4.0, kernel 2.6.18.8-xen on a Intel >>> machine with Vt-d enabled. >>> However, during that process, I found out that I was unable to compile >>> properly by just applying the patch. But I did manage to solve the >>> compilation problem, and now the problem is that there are linkage problems >>> where it says there is an undefined reference to 'ioctl'. >>> >>> Does anyone in this list know of a solution to this? Or, is there any >>> other alternatives or works that has been done to pass-through a graphics >>> card to domU? >>> >>> Any advice is very much appreciated, and thank you in advance, >>> >> >> Hi Billy, >> >> This patch is useful only if you want to pass through the graphic card >> as a primary on the guest. >> >> We've got good result when we pass through a legacy nvidia graphic >> card as secondary in the guest (just put pci = ['B:D:F']) in your config >> file. You need to install at least the version 178.12 for of the nvidia >> driver. >> > Dear Xen Developers, As for the first option, as mentioned by Jean, I was having a hard time with the compilation problem and also linking problem by simply applying the patch. Any further instructions on that? Could anyone still further explain what does it mean to pass through the graphics card as a primary in contrast to as a secondary to the guest. And to pass through the graphics card as secondary, I would assume this is in hvm right? And, do you know specifically for which NVIDIA graphic card in specific that it work? Can you please give me more detail on this? Thanks - billy ------=_Part_67754_21611898.1225299159868 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline

On Mon, Oct 27, 2008 at 3:02 PM, billy lau <billylau@umich.edu> wrote:
On Mon, Oct 27, 2008 at 1:36 PM, Jean Guyader <jean.guyader@eu.citrix.com> wrote:
billy lau wrote:
Hi dear Xen developers,

I was actually trying out a patch which was circulated in this mailing list found at http://markmail.org/message/gecwbq4oqttszxvo#query:+page:1+mid:x4ethv65thwrq3e6+state:results.

I was using Xen-3.3.0 on Debian etch 4.0, kernel 2.6.18.8-xen on a Intel machine with Vt-d enabled.
However, during that process, I found out that I was unable to compile properly by just applying the patch. But I did manage to solve the compilation problem, and now the problem is that there are linkage problems where it says there is an undefined reference to 'ioctl'.

Does anyone in this list know of a solution to this? Or, is there any other alternatives or works that has been done to pass-through a graphics card to domU?

Any advice is very much appreciated, and thank you in advance,

Hi Billy,

This patch is useful only if you want to pass through the graphic card
as a primary on the guest.

We've got good result when we pass through a legacy nvidia graphic
card as secondary in the guest (just put pci = ['B:D:F']) in your config
file. You need to install at least the version 178.12 for of the nvidia
driver.


Dear Xen Developers,

As for the first option, as mentioned by Jean, I was having a hard time with the compilation problem and also linking problem by simply applying the patch. Any further instructions on that?

Could anyone still further explain what does it mean to pass through the graphics card as a primary in contrast to as a secondary to the guest. And to pass through the graphics card as secondary, I would assume this is in hvm right? And, do you know specifically for which NVIDIA graphic card in specific that it work? Can you please give me more detail on this? Thanks

- billy

------=_Part_67754_21611898.1225299159868-- --===============1402484223== 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 --===============1402484223==--