From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH 11/14] libxl: If xc_domain_add_to_physmap fails, include errno value Date: Wed, 18 Mar 2015 16:34:22 +0000 Message-ID: <1426696462.14291.79.camel@citrix.com> References: <1426520383-20855-1-git-send-email-konrad.wilk@oracle.com> <1426520383-20855-12-git-send-email-konrad.wilk@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YYH7I-0003or-SN for xen-devel@lists.xenproject.org; Wed, 18 Mar 2015 16:46:48 +0000 In-Reply-To: <1426520383-20855-12-git-send-email-konrad.wilk@oracle.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Konrad Rzeszutek Wilk Cc: xen-devel@lists.xenproject.org, ian.jackson@eu.citrix.com, wei.liu2@citrix.com, stefano.stabellini@eu.citrix.com List-Id: xen-devel@lists.xenproject.org On Mon, 2015-03-16 at 11:39 -0400, Konrad Rzeszutek Wilk wrote: $subject says libxl but means libxc. Actually, now I notice it so do almost all of the patches! Once fixed any acks I gave (or will give shortly) can still be applied. > Instead of just the return value. > > Signed-off-by: Konrad Rzeszutek Wilk > --- > tools/libxc/xc_dom_x86.c | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git a/tools/libxc/xc_dom_x86.c b/tools/libxc/xc_dom_x86.c > index bf06fe4..20e379c 100644 > --- a/tools/libxc/xc_dom_x86.c > +++ b/tools/libxc/xc_dom_x86.c > @@ -865,7 +865,8 @@ static int map_grant_table_frames(struct xc_dom_image *dom) > } > xc_dom_panic(dom->xch, XC_INTERNAL_ERROR, > "%s: mapping grant tables failed " "(pfn=0x%" PRIpfn > - ", rc=%d)", __FUNCTION__, dom->total_pages + i, rc); > + ", rc=%d, errno=%d)", __FUNCTION__, > + dom->total_pages + i, rc ,errno); s/ ,/, / (hey, I drew a pretty picture) With that fixed: Acked-by Ian Campbell Ian.