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: [PATCH 2/2] Virtual frame buffer: user space backend

To: "Anthony Liguori" <anthony@xxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] Re: [PATCH 2/2] Virtual frame buffer: user space backend
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Fri, 7 Jul 2006 20:56:59 +0100
Delivery-date: Fri, 07 Jul 2006 12:57:33 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acah6/j9IvHLzUJxTXKhaMWygpBy7QAEbbkA
Thread-topic: [Xen-devel] Re: [PATCH 2/2] Virtual frame buffer: user space backend
> On Fri, 07 Jul 2006 17:57:52 +0100, Christian Limpach wrote:
> 
> > On 6/26/06, Markus Armbruster <armbru@xxxxxxxxxx> wrote:
> >> Straightforward conversion to Xenstore.
> >>
> >> Applies to hg repository at http://hg.codemonkey.ws/vncfb
> >
> > Ideally, we'd move qemu's vnc support into a library to make it
reusable.
> 
> I had considered this.  It's a little awkward since b/c of the
dependence
> on QEMU's async IO routines but it wouldn't be that bad.
> 
> At this point, it probably makes most sense to communicate the linear
> offsets within the framebuffer that are dirty instead of computing a
rect.
>  Since the QEMU VNC code already does rectangle finding and maintains
>  dirty tile bitmap, we don't really have to attempt to find the rect
in
> the frontend at all.

The generic interface I'd opt for would be to round up the framebuffer's
size in each direction to the next power of 2, then divide the region
into 32 tiles by 32 i.e. for a 1280x1024 the size of each tile would be
64x32. 

Just using page-level protection to find the updated area in the
frontend we'll be setting runs of bits, but for e.g. a smart Xserver the
2D nature of the bitmap should enable us to do better.

Ian




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

<Prev in Thread] Current Thread [Next in Thread>
  • RE: [Xen-devel] Re: [PATCH 2/2] Virtual frame buffer: user space backend, Ian Pratt <=