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

[Xen-devel] [PATCH] allow xendomains to work for xl list -l



I have discovered a few problems when using the tools/hotplug/Linux/init.d/xendomains startup script if you use xl instead of xm.
From xen 4.2 onwards xl list -l gives a JSON format output containing no
spaces or line feeds, but the xendomains script expects the older format (of xl in xen 4.1 and xm) of one key-value pair per line. This patch adds a new line after each comma in the output of xl list -l before processing it further, allows there to be not to be a space between the key and value format used by xl list -l and accepts the "Xen saved domain" as a valid header for a saved xen image if xl is being used.

        Michael Young

Attachment: xendomains.patch
Description: Text document

_______________________________________________
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®.