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] Re: graphics passthrough with VT-d

To: 'Christian Tramnitz' <chris.ace@xxxxxxx>, "'xen-devel@xxxxxxxxxxxxxxxxxxx'" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] Re: graphics passthrough with VT-d
From: "Han, Weidong" <weidong.han@xxxxxxxxx>
Date: Tue, 1 Sep 2009 16:59:44 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc:
Delivery-date: Tue, 01 Sep 2009 02:01:17 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <h7im1m$7m4$1@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: <EECC125FCE18E740AF561189E126028575C9@xxxxxxxxxxxxxxxxxxxxxxx> <C6C1C48D.139B1%keir.fraser@xxxxxxxxxxxxx> <h7hegt$g8s$1@xxxxxxxxxxxxx> <715D42877B251141A38726ABF5CABF2C054B533D27@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <h7im1m$7m4$1@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acoq3oUWaVx/4xE6S1GM+Y5nE4hLWAAAvGCA
Thread-topic: [Xen-devel] Re: graphics passthrough with VT-d
Christian Tramnitz wrote:
> Han, Weidong wrote:
>>> - when creating the domU while I'm in text mode the dom0 stalls. It
>>> doesn't lock up completely but the terminal and keyboard are frozen.
>>> When I create the domU while dom0 is running X everything is fine.
>> 
>> When you passthrough secondary gfx to guest, it needs to claim the
>> VGA cycle for assigned gfx to display guest booting progress. Then
>> primary gfx doesn't own the VGA cycle to display text mode. In your
>> case, pls use X in dom0 or use VNC to access dom0.   
> Actually I can see the text-mode boot process in domU on the
> passthrough secondary gfx card, it's just that the console stalls
> when running "xm create". This doesnt happen using an xterm, but I'm
> still able to see 
> the text mode boot process (incl BOCHS Bios) on the secondary gfx
> card. 

Yes, I mean you can see text mode boot process on the secondary gfx card, 
because it will claim VGA cycle. But at the same time, the primary gfx cannot 
display in text mode.

> 
>> 
>>> - none of the HVM domU's have picked up the USB bus I tried to
>>> passthrough (with keyboard and mouse attached). Not sure if I just
>>> passed through the wrong bus or something else is broken
>> 
>> Firstly, make sure you assign the correct USB controllers attached
>> keyboard and mouse to guest. BTW, I found USB controller assignment
>> doesn't work well with pv-ops dom0  
> 
> I'm using a xenclient kernel, but will simply passthrough *all* USB
> busses today.

Yes, this is an easy way.

Regards,
Weidong

> 
>> 
>>> - after a domU is stopped it will still show the last image on the
>>> passthrough gfx card (Knoppix desktop or Windows BSOD in my case)
>> 
>> It seems that the gfx card is not reset (FLR).
> 
> I thought the xenclient kernel has XCI already implemented but then
> again this might be limited to certain devices (Intel IGD).
> It's no big deal anyway, just wanted to report it.
> 
> I'll continue to work on this patch-set instead of the just posted v2
> to 
> be able to passthrough the secondary gfx card and use pBAR-vBAR 1:1
> mapping. 
> 
> 
> Thanks and best regards,
>    Christian
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel


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