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

Re: [Xen-users] graphic card on domU

To: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Subject: Re: [Xen-users] graphic card on domU
From: Abe <lynchbay@xxxxxxxxx>
Date: Thu, 15 Mar 2007 13:31:57 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 15 Mar 2007 04:31:02 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; 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; b=Zzt7b/MoTIrZc2AbZTSZjNc0U3SBHC/Xa8ZhT2LxTB31pppk4W4bKU1a0fpdIJhyVwdHtBxv1DFq7qmXlqDqBH8BNCoJWhw+TqFcjmu7JLcJndSbBKkVqeA4sP7yvQzFxu/Ts+HXuyVCOb/Dcx/pPI75NeZCL/S/hyXI1Z7sg04=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=trqRvU3naxVGu6rUXpgMQtZMA54O6ueTKpm6O1WVAqzpxpcSBa0IDh8yJhcx4uoGu1vTVoz4Fpgt4BLc4fVJ4wmmZ7IYtpCKmS63dBZadWjbSnrgxE8q6qmTD5VQeWGNUzGYGP3IhBuLWpm8W8l5AgcxKvTtxGSwl5Q3xjCGytk=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <907625E08839C4409CE5768403633E0B018E1A90@xxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <ce3dfaa50703150414v24d42a03s4d7208d1af49150a@xxxxxxxxxxxxxx> <907625E08839C4409CE5768403633E0B018E1A90@xxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On 3/15/07, Petersson, Mats <Mats.Petersson@xxxxxxx> wrote:
> what exactly do you mean by "drm"?

"Direct Rendering Module" - the X-windows kernel modules to support
differnet graphics cards using "DRI" (Direct Rendering Infrastructure".

> I am not in concern for the *VGA* state, it can easily be reset.

Yes, but if you're working in graphics mode (X) and the Dom0 decides to
write to the VGA controller, your graphics card may not "appreciate" it.
Since there's no direct communication between the DomU and Dom0 about
what's going on in the different "world", the context of the graphics
card may be severely damaged by performing VGA writes to a graphics
context (or the other way around).

So you need Dom0 to "give up" it's VGA ownership if you want DomU to
access the graphics card. And that's not going to be easy. The only
(easy) solution is to have two graphics cards and giving the SECOND one
to DomU.


maybe in xen-devel they'll know what to do in order to remove the VGA
from domain0, for instance, blocking the graphic adapter at the
hypervisor level. the FB can be removed using a compile flag or
something and the console output could be redirected to a serial
port...

thanks,
Abe


--
Mats



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