All of lore.kernel.org
 help / color / mirror / Atom feed
* Pass-through a graphic card
@ 2008-10-27 17:29 billy lau
  2008-10-27 17:36 ` Jean Guyader
  0 siblings, 1 reply; 5+ messages in thread
From: billy lau @ 2008-10-27 17:29 UTC (permalink / raw)
  To: xen-devel


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

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,
- billy

[-- Attachment #1.2: Type: text/html, Size: 962 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] 5+ messages in thread

* Re: Pass-through a graphic card
  2008-10-27 17:29 Pass-through a graphic card billy lau
@ 2008-10-27 17:36 ` Jean Guyader
  2008-10-27 19:02   ` billy lau
  0 siblings, 1 reply; 5+ messages in thread
From: Jean Guyader @ 2008-10-27 17:36 UTC (permalink / raw)
  To: billy lau; +Cc: xen-devel

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.

-- 
Jean Guyader

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

* Re: Pass-through a graphic card
  2008-10-27 17:36 ` Jean Guyader
@ 2008-10-27 19:02   ` billy lau
  2008-10-29 16:52     ` billy lau
  0 siblings, 1 reply; 5+ messages in thread
From: billy lau @ 2008-10-27 19:02 UTC (permalink / raw)
  To: Jean Guyader; +Cc: xen-devel


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

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.
>

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

[-- Attachment #1.2: Type: text/html, Size: 2571 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] 5+ messages in thread

* Pass-through a graphic card
  2008-10-27 19:02   ` billy lau
@ 2008-10-29 16:52     ` billy lau
  0 siblings, 0 replies; 5+ messages in thread
From: billy lau @ 2008-10-29 16:52 UTC (permalink / raw)
  To: Jean Guyader; +Cc: xen-devel


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

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

[-- Attachment #1.2: Type: text/html, Size: 2967 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] 5+ messages in thread

* Pass-through a graphic card
@ 2008-11-10 20:14 billy lau
  0 siblings, 0 replies; 5+ messages in thread
From: billy lau @ 2008-11-10 20:14 UTC (permalink / raw)
  To: xen-devel


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

Hi Xen Developers,

Regarding to a patch circulated earlier on passing a main graphics card to
domU, as I boot up windows using hvmloader, an error occured, which was
logged, as below:

/usr/lib/xen/bin/qemu-dm: invalid option -- '-dom0-input'

Has anyone encountered similar problems before, and any advice at all?
Thanks in advance,
- billy

[-- Attachment #1.2: Type: text/html, Size: 380 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] 5+ messages in thread

end of thread, other threads:[~2008-11-10 20:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-27 17:29 Pass-through a graphic card billy lau
2008-10-27 17:36 ` Jean Guyader
2008-10-27 19:02   ` billy lau
2008-10-29 16:52     ` billy lau
  -- strict thread matches above, loose matches on Subject: below --
2008-11-10 20:14 billy lau

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.