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: "mail mark" <mark.mmaa@xxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Pass-through a graphic card
From: "Jean Guyader" <jean.guyader@xxxxxxxxx>
Date: Sat, 21 Jun 2008 20:28:16 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Jean Guyader <jean.guyader@xxxxxxxxxxxxx>
Delivery-date: Sat, 21 Jun 2008 12:28:40 -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 :content-transfer-encoding:content-disposition:references; bh=V28Cy/SbGWE5rx8DWAdKG34vlO5jVthSMWurHF8g4EE=; b=rPa4PBmVE1eck4MCcrdfaKSf/az9/f9RaDiLiE/zVp7j/S+7OiYCGquLTBErOxx3MX oanGLAqlUHwj+57RCAeGL2k1tmef0sgpT0msvecKccqtF1tSwYOnshKSz+BGCpA1yvkg BlKz2AO2M6kaSOVTNpJr7V6j0+/HFAwqAqm30=
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:content-transfer-encoding:content-disposition :references; b=Z2mT8aai92HAdi7ZRMmShzBZQ62G/JzkpEZssWYGQR1a9pEuTsb4Qsn8hf4hvrK7tN 4nB2rncLEXDEvwgABgNQp5RpLIp6ISbrXInOKkH0KUGnQi1Rnh1L9dCg1csr0rVn/RRm wW0CfcKiZ/5Wr+mLtzB3WPDRG/09aZafy7H20=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <2d42acf20806211036u5f1b4404qf2c1a0240a56800f@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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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