Skip to content

xl: convert exit codes related to domain subcommands to EXIT_[SUCCESS|FAILURE]

Harmandeep Kaur xen-devel 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest9 patches 0 repliesNew
  2. v19 patches 14 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9xl: Improve return and exit codes of memory related functions.tools/libxl/xl_cmdimpl.c+22 -180 replies
2/9xl: Improve return and exit codes of restore and save related functions.tools/libxl/xl_cmdimpl.c+11 -110 replies
3/9xl: Improve return and exit codes of migrate related functions.tools/libxl/xl_cmdimpl.c+29 -290 replies
4/9xl: Improve return and exit codes of console, vnc and core dump related functions.tools/libxl/xl_cmdimpl.c+7 -70 replies
5/9xl: Improve return and exit codes of pause, destroy and shutdown related functions.tools/libxl/xl_cmdimpl.c+13 -130 replies
6/9xl: Improve return and exit codes of list related functions.tools/libxl/xl_cmdimpl.c+10 -100 replies
7/9xl: Improve return and exit codes of create, config_update and rename related functions.tools/libxl/xl_cmdimpl.c+27 -270 replies
8/9xl : Improve return and exit codes debugging, special keys and triggering related functions.tools/libxl/xl_cmdimpl.c+8 -80 replies
9/9xl: Improve return and exit codes of domain id and name related functions.tools/libxl/xl_cmdimpl.c+6 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH 0/9 v2] xl: convert exit codes related to domain subcommands to EXIT_[SUCCESS|FAILURE]

*main_foo() is treated somewhat as a regular main(), it is changed to return EXIT_SUCCESS or EXIT_FAILURE.

*Functions that are not main_foo(), are changed to do 'return 0' or 'return 1', and then 0/1 is taken care in the main_foo() functions that calls them.

*Functions in xl_cmdimpl.c related to domain subcommands are fixed.

*Aim of this patch is to make exit codes consistent so that anything useful can be done with these exit codes.

*This series is a follow-up for the following series:
http://lists.xenproject.org/archives/html/xen-devel/2015-10/msg02990.html

*Some discussions about this patch:
http://lists.xen.org/archives/html/xen-devel/2015-10/msg02497.html
http://lists.xen.org/archives/html/xen-devel/2015-10/msg02501.html
http://lists.xen.org/archives/html/xen-devel/2015-10/msg02509.html

*v1 of this patch:
http://lists.xenproject.org/archives/html/xen-devel/2016-02/msg03353.html
---

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel