[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] graphic card on domU


  • To: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.