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] xend leaks/bugs/etc

To: <ncmike@xxxxxxxxxx>, "Anthony Liguori" <aliguori@xxxxxxxxxx>
Subject: RE: [Xen-devel] xend leaks/bugs/etc
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Tue, 19 Apr 2005 00:12:35 +0100
Cc: Harry Butterworth <harry@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Allen Short <washort@xxxxxxxxxx>
Delivery-date: Mon, 18 Apr 2005 23:12:25 +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: AcVEXHPHdavJoBADRzW7h82OiB2zVQADq8qQ
Thread-topic: [Xen-devel] xend leaks/bugs/etc
> > I believe this is the purpose of xenbus.
> 
> Is there a design proposal for xenbus interaction with 
> userland or should we assume it is modeled on the linux 
> driver core/sysfs and /sbin/hotplug?

Sysfs and hotplug are the model. 

> > I agree with all three points.  What I would like to see, 
> and what I 
> > am working on now for VM-Tools, is the function of Xend broken up.
> 
> I agree. Persistent state for domains should be kept in a 
> file system backed by persistent media, not in the memory of 
> the daemon. With a repository factored out of the daemon, the 
> only required functions of the daemon are to maintain control 
> channels and to dispatch state change notifications to the 
> repository. Everything else can be done using single purpose tools. 

To be fair to xend, this is what it does already: all its internal state
is stored in the file system, hence it can be killed and restarted
(modulo bugs in the current unstable).

The key step that needs to happen with the rewrite is to factor xend
into a number of pieces that communicate via the persistent store.

> > I think the goal should be to have the least amount of code 
> > (regardless of language) in whatever is running as a daemon.
> 
> Exactly - the least amount of code that meets functional 
> requirements. 

It's hard to beat python for this sort of thing...

Ian

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

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