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/
Home Products Support Community News


[Xen-devel] Re: [PATCH 0/2] Virtual frame buffer

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Re: [PATCH 0/2] Virtual frame buffer
From: Markus Armbruster <armbru@xxxxxxxxxx>
Date: Fri, 07 Jul 2006 09:17:39 +0200
Cc: Anthony Liguori <aliguori@xxxxxxxxxx>, Christian.Limpach@xxxxxxxxxxxx
Delivery-date: Fri, 07 Jul 2006 00:18:10 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <87ac80ghox.fsf@xxxxxxxxxxxxxxxxx> (Markus Armbruster's message of "Mon, 26 Jun 2006 15:38:54 +0200")
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: <87ac80ghox.fsf@xxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)
This is a repost.  We clearly need some review to move forward.

I ported Anthony Liguori's virtual frame buffer to current kernels and
converted it to use Xenstore.

Here's a brief sketch of how it works.
http://wiki.xensource.com/xenwiki/VirtualFramebuffer has more detail,
and also also outlines future work, but the stuff on startup there no
longer applies.

The VFB's architecture is comparable to the common split device driver
architecture: xenfb and xenkbd modules serve as frontend in domU, and
the user space vncfb server serves as backend in dom0.

xenfb and xenkbd don't use the Xenbus infrastructure for frontends,
because it doesn't quite fit.  They publish their shared memory page
and event channel in Xenstore entries

As usual, the shared memory page contains information about the
device, input event ring and output event ring.

xenkbd defines pointer motion events, button events and keyboard
events.  xenfb defines events to optionally signal frame buffer page

vncfb runs in dom0.  It takes the domain to watch as argument.  It
then watches /local/domain/DOMID/{vfb,vkbd} until everything it needs
is there.  It maps the shared memory and connects the event channels.
Use of event ring and event channel follows the common patterns.

xenfb actually shares more memory than just a page.  It also shares
the frame buffer itself.  The page shared through Xenstore has enough
information so that vncfb can map the frame buffer as well.

Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Re: [PATCH 0/2] Virtual frame buffer, Markus Armbruster <=