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] Overview of exposing graphical desktop from DomU...frame

To: "David Stone" <unclestoner@xxxxxxxxx>
Subject: Re: [Xen-devel] Overview of exposing graphical desktop from DomU...framebuffers, etc.
From: Markus Armbruster <armbru@xxxxxxxxxx>
Date: Mon, 29 Oct 2007 09:20:45 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 29 Oct 2007 01:21:28 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1a74a8410710261357q554f825ev252b5dc6dd33a0ff@xxxxxxxxxxxxxx> (David Stone's message of "Fri\, 26 Oct 2007 16\:57\:50 -0400")
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: <1a74a8410710261357q554f825ev252b5dc6dd33a0ff@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)
"David Stone" <unclestoner@xxxxxxxxx> writes:

> Hi folks, I am hoping somebody could give an overview of the xen
> framebuffer/graphics architecture...at the level of what processes and
> drivers are involved in a Linux DomU and Dom0, how they are set up,
> how information control flows between them, etc.  (Running 3.0.3, I
> see xen-vncfc in Dom0 and xenfb in domU).
>
> I'm primarily interested in understanding on how things work in a PV
> DomU, but also in a HVM DomU.

The PV framebuffer is an almost-ordinary split device driver[*]:
there's a frontend in domU and a backend in dom0, talking to each
other through Xenbus.

The frontend is a Linux device driver, living in drivers/xen/fbfront/.
Actually, it's a pair of drivers, one for the frame buffer (vfb), and
one for keyboard and mouse (vkbd, two devices).

Unlike other split drivers, the backend is in user space.  It used to
be a separate program (either xen-vncfb or xen-sdlfb) under the
control of xend.  It's been merged in qemu-dm recently, running under
the control of xend as for FV domains.

Communication between front- and backend is also somewhat peculiar.
The frontend shares the actual framebuffer with the frontend, and
notifies it of changes through Xenbus.

Hope this helps, feel free to ask more specific questions.

> I guess I'm not clear on why Xen has to do anything for this...doesn't
> xvnc provide a framebuffer that can be accessed via VNC, and wouldn't
> this be outside the scope of Xen?

Yeah, isn't it funny that we bother with a PV framebuffer when X is
fully network transparent?  And stuff like NX makes it fast enough
even over slowish links?  Basically, it's for convenience: it looks
like a plain frame buffer device in domU, no assembly required.
Especially appreciated by graphical installers.

> Thanks,
> Dave

[*] http://wiki.xensource.com/xenwiki/XenSplitDrivers

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

<Prev in Thread] Current Thread [Next in Thread>