From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH v2 07/13] libxc: Fix xc_tmem_control to return proper error. Date: Thu, 19 Mar 2015 16:39:49 +0000 Message-ID: <1426783189.21742.70.camel@citrix.com> References: <1426724659-23999-1-git-send-email-konrad.wilk@oracle.com> <1426724659-23999-8-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 1YYdUA-0003oS-59 for xen-devel@lists.xenproject.org; Thu, 19 Mar 2015 16:39:54 +0000 In-Reply-To: <1426724659-23999-8-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 List-Id: xen-devel@lists.xenproject.org On Wed, 2015-03-18 at 20:24 -0400, Konrad Rzeszutek Wilk wrote: > The API returns now negative values on error and stashes > the error in errno. Fix the user of this API. > > The 'xc_hypercall_bounce_pre' can fail - and if so it will > stash its errno values - no need to over-write it. > > Signed-off-by: Konrad Rzeszutek Wilk Acked-by: Ian Campbell I'm still a little concerned about xenstat.c's handling of errno! =-ENOSYS, but not enough to nack.