From: "mail mark" Subject: Re: [PATCH] Pass-through a graphic card Date: Mon, 23 Jun 2008 22:20:01 +0900 Message-ID: <2d42acf20806230620r435507e5ob5731c2cebea1da2@mail.gmail.com> References: <2d42acf20806130808s635ff5e2p83641c86c494468f@mail.gmail.com> <48529169.6080009@eu.citrix.com> <2d42acf20806211036u5f1b4404qf2c1a0240a56800f@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1258981110==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jean Guyader Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1258981110== Content-Type: multipart/alternative; boundary="----=_Part_12862_10155424.1214227201640" ------=_Part_12862_10155424.1214227201640 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 : > 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 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 : > >> > >> 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@lists.xensource.com > > http://lists.xensource.com/xen-devel > > > > > > > > -- > Jean Guyader > ------=_Part_12862_10155424.1214227201640 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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@gmail.com>:
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@gmail.com> 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@eu.citrix.com>:
>>
>> 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@lists.xensource.com
> http://lists.xensource.com/xen-devel
>
>



--
Jean Guyader

------=_Part_12862_10155424.1214227201640-- --===============1258981110== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1258981110==--