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

To: "Jean Guyader" <jean.guyader@xxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Pass-through a graphic card
From: "mail mark" <mark.mmaa@xxxxxxxxx>
Date: Mon, 23 Jun 2008 22:20:01 +0900
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 23 Jun 2008 06:20:28 -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:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=PACblWYw0lNw8qRomipRqhUVL1xj2SrRz2bAyBDygAg=; b=u5KNV+DNJF48HlRU3NVYig/AVu/qYExRkmbKDdB5hq881VLRxCEdRqq2nt4yo+L0gK VB5jku9n29rY3S4qUHqBgSWN47a5mGWpzKwetEy8ANOLIPVGRlzFldYy4zoHbrp4U+VP m0nRiyYY/oSooP1bV4nD7JjwaStEhg1gIAMt8=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=criJf6/4TshC23XpkuhApYEyczSRBf9UG5WzpKdLtXoWrjH/aS95SZwUl3VEFihEDn kdHkEN//aRHsLuzs7lDkvLCoiUCor7ty8Kk0dufUmP2nYv1Jp2lFaMPNrCJ3+a6xXyoW N5zOpgeEnNG3QgOAwlE/BzbxYuiu04WMmNnec=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <f68b66460806211228u6f546697w459aa38e776888b8@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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <2d42acf20806130808s635ff5e2p83641c86c494468f@xxxxxxxxxxxxxx> <48529169.6080009@xxxxxxxxxxxxx> <2d42acf20806211036u5f1b4404qf2c1a0240a56800f@xxxxxxxxxxxxxx> <f68b66460806211228u6f546697w459aa38e776888b8@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Jean,

Hmm. It worked fine with intel 5400 chipset but Q35 box couldn't. In this patch, is there the code that is chipset dependent? If there is, where is it?
The kind of graphic card is no object. Anyway, I make it works on a Q35 box.If I can, what should I change?

Regards,

2008/6/22 Jean Guyader <jean.guyader@xxxxxxxxx>:
Neo,

There is no code that is graphic card dependent. It is graphic card
dependent because this patch re-execute the native vga bios inside the
guest.
I tried with ATI and when windows loads the ATI driver the guest reboots.
Good luck with your tests.

Regards,

On Sat, Jun 21, 2008 at 6:36 PM, mail mark <mark.mmaa@xxxxxxxxx> wrote:
> Jean,
>
> Now I am trying to make this patch works on Q35 box too, but I still don't
> find the code that is graphic card dependent.
>
> Would you tell me where we should fix to make it works on Q35 box?
>
> Regards,
>
>
> 2008/6/14, Jean Guyader <jean.guyader@xxxxxxxxxxxxx>:
>>
>> mail mark wrote:
>>>
>>> I have two questions.
>>>
>>> 1.
>>> I tried to create domU(WindowsXP-SP2) with this patch.
>>> The domU was created, but domU did not appear on the display.
>>> How do I see domU?
>>
>> You should see the display on the monitor at least in VGA (4 bits colour).
>>
>>>
>>> 2.
>>> After domU was created, I tried to kill domU(WinXP).
>>>
>>> $xm shutdown WinXP
>>>
>>> but WinXP had still existed.
>>>
>>> $xm list
>>> Name               ID
>>> Domain-0           0
>>> WinXP               1
>>>
>>> Why?
>>>
>>>
>>> domU configuration file:
>>> pci = [ '03:02.0' ]   (03:02.0 is principal graphic card.)
>>> vga_pass_through=1
>>
>> The option is vga_passthrough with my patch.
>>
>>>
>>> kernel option:
>>> pciback.hide=(03:02.0)
>>>
>>
>>
>> Mark,
>>
>> The problem is right now we re-execute the native VGA bios in the guest,
>> so this patch is very graphic card dependent.
>>
>> Right now as far as I now it's only working fine with a intel 5400 chipset
>> with the embedded ATI ES 1000.
>>
>> We are currently trying to make it works on a Q35 box.
>>
>> Regards,
>>
>> --
>> Jean Guyader
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
>
>



--
Jean Guyader

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