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] [PATCH] patch to buffer write ioreq

To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>, "Li, Xin B" <xin.b.li@xxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH] patch to buffer write ioreq
From: "Dong, Eddie" <eddie.dong@xxxxxxxxx>
Date: Thu, 22 Jun 2006 09:01:23 +0800
Cc: "Han, Zhu" <zhu.han@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 21 Jun 2006 18:02:26 -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: AcaVSZ4/GAms6l6iTnuO1WSAUMOmOwATLEbQ
Thread-topic: [Xen-devel] [PATCH] patch to buffer write ioreq
> I wonder if putting the VGA emulation in Xen itself would make sense?
> The 'backend protocol' is just a simple linear framebuffer after all:
Mmmm, not quit this. For standard VGA graphic mode 0x12, the frame
buffer
is splited into 4 pixel plane. Guest can mask each plan
individually. For example, when guest write color 0x1010 and the plane
mask is plane 0/1,
then only plane 2 get 0 and plane 3 get 1 for that pixel. So the
eventually pixel color is
 depending on old color in plane 0/1. Also there are 4 write sub-mode.

> nothing very complicated (much simpler and easier to put in Xen than
> xenbus/blk/net). VGA MMIO access would then be about as "fast" as a
> vmenter/vmexit roundtrip. The main downside is that it might limit
> what tricks we can do with the backend video protocol in future.
> 
Usually a VGA mode 0x12 pixel write will be accompanied by port IO
write, a lot of logic need to be moved together if we want to do
standard VGA emulation in Xen.

thx,eddie

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