[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 2 of 2] libxl: publish number of shared and paged pages



On Tue, 2012-03-13 at 15:35 +0000, Ian Jackson wrote:
> Andres Lagar-Cavilla writes ("Re: [Xen-devel] [PATCH 2 of 2] libxl: publish 
> number of shared and paged pages"):
> > > But did you not want to print it from xl command or other?
> > 
> > Not in xl list (format compat with xm list). Where?
> 
> Tricky.  Can you make the format compatible if paging is disabled ?
> 
> Ultimately the format of list is pretty annoying and inextensible.

I was wondering if we should just bit the bullet and agree that only the
machine readable "xl list -l" output is backwards compatible? Supporting
machine parsing of the human readable "xl list" output is pretty
limiting in many ways.

The default for "xl list -l" is now json output (which is autogenerated
and will therefore pickup new field automatically) but there is an
option to use the xm sxp syntax too.

If changing the machine readable output is actually impossible I suppose
we could add a "--old-style" flag to ease the transition?

Ian.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.