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-tools

Re: [Xen-tools] [PATCH] An example console driver using the store

To: Rusty Russell <rusty@xxxxxxxxxxxxxxx>
Subject: Re: [Xen-tools] [PATCH] An example console driver using the store
From: Anthony Liguori <aliguori@xxxxxxxxxx>
Date: Mon, 08 Aug 2005 13:35:00 -0500
Cc: Xen Tools <xen-tools@xxxxxxxxxxxxxxxxxxx>, Robert Read <robert@xxxxxxxxxxxxx>
Delivery-date: Mon, 08 Aug 2005 22:56:37 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1123487169.32336.32.camel@xxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-tools-request@lists.xensource.com?subject=help>
List-id: Xen control tools developers <xen-tools.lists.xensource.com>
List-post: <mailto:xen-tools@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-tools>, <mailto:xen-tools-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-tools>, <mailto:xen-tools-request@lists.xensource.com?subject=unsubscribe>
References: <1123487169.32336.32.camel@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-tools-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.2 (X11/20050317)
Rusty Russell wrote:

Sorry this took so long, distracted by other things.

This patch adds xenbus_early_write, for use before we can sleep, and
illustrates how a console driver can use the store.  The console driver
replaces the normal one for testing, and uses the same ringbuf code as
xenbus (which really should be extracted into a separate library).
xenbus_early_write is not actually in this patch. Also, the makefiles expect there to be a test-console directory (which I don't think they should).

I'm eager to try this code out.

Regards,

Anthony Liguori

The toy client only handles a single page for the buffer, doesn't handle
^C etc.

This uncovered some bugs in xenstored: patches coming. Cheers!
Rusty.

Signed-off-by: Rusty Russell <rusty@xxxxxxxxxxxxxxx>



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