From: Wei Liu Subject: Re: [PATCH] xl: log an error if libxl_cpupool_destroy() fails Date: Fri, 23 Oct 2015 09:43:26 +0100 Message-ID: <20151023084326.GN5060@zion.uk.xensource.com> References: <20151022171420.15122.92760.stgit@Solace.station> 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 1ZpXwz-0004ot-2z for xen-devel@lists.xenproject.org; Fri, 23 Oct 2015 08:43:49 +0000 Content-Disposition: inline In-Reply-To: <20151022171420.15122.92760.stgit@Solace.station> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Dario Faggioli Cc: Juergen Gross , Wei Liu , Ian Campbell , Stefano Stabellini , Ian Jackson , xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org On Thu, Oct 22, 2015 at 07:14:20PM +0200, Dario Faggioli wrote: > In fact, right now, failing at destroying a cpupool is just > not reported to the user in any explicit way. Log an error, > as it is customary for xl in these cases. > > While there, take the chance to turn a couple of xl exit > codes into EXIT_[SUCCESS|FAILURE], as discussed and agreed > here: > > http://lists.xenproject.org/archives/html/xen-devel/2015-03/msg01336.html > http://lists.xenproject.org/archives/html/xen-devel/2015-03/msg01341.html > > Signed-off-by: Dario Faggioli Acked-by: Wei Liu