From: Ian Campbell Subject: Re: [PATCH 01/29] libxc: check for xc_domain_get_guest_width failure and pass it down Date: Thu, 31 Oct 2013 21:03:56 +0000 Message-ID: <1383253436.5436.141.camel@dagon.hellion.org.uk> References: <1383119525-26033-1-git-send-email-mattjd@gmail.com> <1383119525-26033-2-git-send-email-mattjd@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1383119525-26033-2-git-send-email-mattjd@gmail.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: Matthew Daley Cc: Stefano Stabellini , Ian Jackson , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Wed, 2013-10-30 at 20:51 +1300, Matthew Daley wrote: > @@ -443,7 +443,8 @@ static void xc_cpuid_pv_policy( > > xc_cpuid_brand_get(brand); > > - xc_domain_get_guest_width(xch, domid, &guest_width); > + if ( xc_domain_get_guest_width(xch, domid, &guest_width) != 0 ) > + return 1; Not the actual error from xc_domain_get_guest_width?