From: Ian Campbell Subject: Re: libxl: default behavior when libxl fail to map an IRQ Date: Wed, 14 May 2014 17:43:47 +0100 Message-ID: <1400085827.26934.18.camel@kazak.uk.xensource.com> References: <53739AFB.3020909@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <53739AFB.3020909@linaro.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Julien Grall Cc: xen-devel , Ian Jackson , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On Wed, 2014-05-14 at 17:34 +0100, Julien Grall wrote: > Hello all, > > It seems that libxl continue to create the domain even when the function > domcreate_launch (tools/libxl/libxl_create.c) fails to map an IRQ to a > domain. > > I looked at the code and libxl only prints an error message when an > error occurred. It's the same thing for MMIO and ioport. > > Shouldn't we stop to create the domain when something is failing? yeah, it seems like all three of those loops are missing a goto error_out. Ian.