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

[Xen-devel] Pass-through a graphic card

To: "Jean Guyader" <jean.guyader@xxxxxxxxxxxxx>
Subject: [Xen-devel] Pass-through a graphic card
From: "billy lau" <billylau@xxxxxxxxx>
Date: Wed, 29 Oct 2008 12:52:39 -0400
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 29 Oct 2008 09:53:04 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:cc:in-reply-to:mime-version:content-type:references :x-google-sender-auth; bh=rDzdbhC+oY7+D7xoiNCjrx/qwLTrJ3ESYYi65BzlBkA=; b=l71I+52AB8mRQPU8FjtN5k60FMF7yA4PsrGPbWUdfAKTFrOPW2oTZjHFqdzeG/Rbln +dv0WCUc0hur7FJ7BpFHVTsfEOLU/VK2LfrnHeWVOI9Mh5m/ce4yLZIVUrWPJ3Y1IXUf tKMOpE4H8AGonpqwl+5H0zBfrbL+n1xEXU5TA=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version :content-type:references:x-google-sender-auth; b=ug7VaivKj9zphQaBUGMa+3kxUwHCq79MyvOo/AnI26gKYz7e0Y+dj0da0Ux7u7wHhi qNsRUzXRI45gS1a5/z2QhtiEJm7RYYB9BRHNRDGekk7v3yIXC7aNO+vq0q6lOI8jLMdP Odvk8HIYu/4gDF+hJQQ2O88jjD9R90WS0RzOs=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <6b5ba5140810271202w69f908c6x442dbd95b70ed373@xxxxxxxxxxxxxx>
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: <6b5ba5140810271029k21e7aa6dsa22bfaad874cc798@xxxxxxxxxxxxxx> <4905FC0F.7000801@xxxxxxxxxxxxx> <6b5ba5140810271202w69f908c6x442dbd95b70ed373@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx


On Mon, Oct 27, 2008 at 3:02 PM, billy lau <billylau@xxxxxxxxx> wrote:
On Mon, Oct 27, 2008 at 1:36 PM, Jean Guyader <jean.guyader@xxxxxxxxxxxxx> 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

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