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] Console Daemon

To: "Rusty Russell" <rusty@xxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH] Console Daemon
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Wed, 3 Aug 2005 12:13:37 +0100
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>, Robert Read <robert@xxxxxxxxxxxxx>, Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>
Delivery-date: Wed, 03 Aug 2005 11:12:10 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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: AcWYGmaPKPdH1LiHSkeJ+jkx+atlJAAAKlDw
Thread-topic: [Xen-devel] [PATCH] Console Daemon
>       I don't think externally-supplied pages are necessary.  
> I was thinking of writing the page (or pages) into the store 
> immediately (since we don't need locks, or to wait for a 
> reply).  

We want to be able to get console output very early on, before xenbus
has come up.

However, it makes sense for xenbus to learn about the console buffer
once its up, as we'll want to use it (in future) for establishing
multiple tty's etc.

> I think we want more than one page because my boot 
> messages almost hit 8k to the first login prompt, and the 
> idea of requiring a console daemon repulses me.

It only really needs to be big enough to absorb all the messages before
Linux's console buffering code comes up, which isn't very much,
certainly <4KB.

My view is that we should continue using the same buffer once xenbus
comes up, hence there should be a simple multiplexing protocol.  

Ian

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

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