[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH v4 0/5] Return failure on failure for more xl commands
Return failure when the command failed for more xl commands: - mem-set - cd-insert - pci-* This makes xl more useful for scripting. In the case of mem-set, it means first cleaning up libxl_set_memory_target() to return useful error codes. Changes in v4: - Remove block-attach patch - Split out removal of spurious getinfolist to a separate patch - Try to follow CODING_STYLE more closely: - In general, don't initialize rc / r, but use set-and-goto - Use 'r' for non-libxl error codes - Use EXIT_FAILURE and EXIT_SUCCESS rather than magic constants CC: Ian Campbell <ian.campbell@xxxxxxxxxx> CC: Ian Jackson <ian.jackson@xxxxxxxxxx> CC: Wei Liu <wei.liu2@xxxxxxxxxx> _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |