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] Pass-through a graphic card

To: "Jean Guyader" <jean.guyader@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Pass-through a graphic card
From: "billy lau" <billylau@xxxxxxxxx>
Date: Mon, 27 Oct 2008 15:02:53 -0400
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 27 Oct 2008 12:03:17 -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=qg3t5mn3haftIOEC+YYyiZqnuuyb3DLAD+wzcbuvIpk=; b=K7e/ulnVGFpIuCYzDTAeFJWSZmq9/SNDszjsOniN1uhKbBKxvMu6exYouZvuT1/DXt SAlf5FW9SoR4ebiN/fPpd5NcJ3N0ttEUEmYlx1NYfTHKC7R3o3IZ2lN2FGMt8wKSMp2C HIBcYmnLk8E3uVEFmdSQVQ7x6QfDdF3mn2yPc=
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=ZJexwJn2cxojAUMMn4yBxEFUuUVEKj8dAC1L4PV882qqD7X8qREJYONgsiaIwJwYCY 3uWBaV4J14531WmM/cuvus2fE91/8PUWZl1g4j1tNhfjiX3oz2eeQUNnlkHoe7xKqxfc z+S5If7WkoM552EEXDU9aAEmLiS+7tuu1MNo4=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4905FC0F.7000801@xxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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.

Hi Jean,

Thanks for the prompt reply. As for the first option, as mentioned, 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 you 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>