From mboxrd@z Thu Jan 1 00:00:00 1970 From: Harmandeep Kaur Subject: [PATCH v2 0/5] xl: convert exit codes to EXIT_[SUCCESS|FAILURE] Date: Sat, 24 Oct 2015 11:01:31 +0530 Message-ID: <1445664696-14258-1-git-send-email-write.harmandeep@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZprRc-0007E9-Vu for xen-devel@lists.xenproject.org; Sat, 24 Oct 2015 05:32:45 +0000 Received: by wicuv6 with SMTP id uv6so8973598wic.2 for ; Fri, 23 Oct 2015 22:32:43 -0700 (PDT) List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org Cc: lars.kurth@citrix.com, wei.liu2@citrix.com, ian.campbell@citrix.com, stefano.stabellini@eu.citrix.com, dario.faggioli@citrix.com, ian.jackson@eu.citrix.com, george.dunlap@citrix.com, Harmandeep Kaur List-Id: xen-devel@lists.xenproject.org *Its my "bite size contribution" that is required for applying to the Outreachy program. *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. *fuctions in xl.c and xl_cmdimpl.c are changed. *functions related to scheduling, vcpu, cpupool and parsing are currently changed excluding parse_config_data() which is big enough to deserve its own patch. *Some discussions about this patch: https://www.mail-archive.com/xen-devel@lists.xen.org/msg42850.html *v1 of this patch http://lists.xenproject.org/archives/html/xen-devel/2015-10/msg02497.html Signed-off-by: Harmandeep Kaur ---