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

[Xen-devel] RE: xl features missing

To: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>
Subject: [Xen-devel] RE: xl features missing
From: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Date: Mon, 19 Jul 2010 12:13:45 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>, Stefano
Delivery-date: Mon, 19 Jul 2010 04:14:09 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <53342289-b413-4334-9dea-4661c01eb58b@default>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <f6fa6e0d-a304-407d-9efa-9538f6c9e3d9@default> <53342289-b413-4334-9dea-4661c01eb58b@default>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)
On Fri, 16 Jul 2010, Dan Magenheimer wrote:
> > From: Dan Magenheimer
> > Subject: xl features missing
> > 
> > FYI, I finally got a chance to play with xl a bit in
> > xen-unstable and quickly discovered the following:
> 
> > - xl create doesn't handle the possibility that tmem
> >   has memory which is freeable (xm create does)
> 
> This appears to be an indicator of a bigger issue unless
> there is some code somewhere I am missing.
> 
> Can "xl create" deal with ballooning memory from dom0, as is
> done in the free() method in tools/python/xen/xend/balloon.py?
> If not, doesn't that mean that xl is useless on systems
> where dom0_mem= isn't specified as a boot option?
>
> Since tmem leverages this method to recover freeable
> memory when creating a new guest, tmem also needs this
> else xl is also useless on a tmem-enabled system.
> 
> And in either case, it appears that the error handling
> for "out of memory" spews meaningless error messages.

xl doesn't have an equivalent of the free() method in xend, so it would
be useless without dom0_mem= at the moment.
However reimplementing that method shouldn't be hard, the only problem
is that it would probably require some sort of global locking among all
the various xl processes running concurrently.
Maybe we need a lockfile?


> 
> > - xl tmem-freeable doesn't exist (xm tmem-freeable does)
> 
> Patch submitted.

thanks


> 
> > - xl vncviewer doesn't exist (xm vncviewer does)
> 
> Doesn't look too hard, but haven't tried it yet.  This
> is something I use all the time though so would be nice
> to have.
 
it should be something similar to the 'xl console' command that we
already have.

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

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