[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:43 +0000, Ian Jackson wrote:
> Ian Campbell writes ("Re: [Xen-devel] [PATCH 2 of 2] libxl: publish number of 
> shared and paged pages"):
> > 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.
> Mmmm.
> > 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?
> Can we make it an environment variable ?

I don't see why not. Say, $XL_USE_XM_COMPATIBLE_OUTPUT=1 ?

I suppose your rationale is that this makes it easier to fix a script
which might use either xm or xl?


Xen-devel mailing list



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