[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2 07/13] libxc: Fix xc_tmem_control to return proper error.
On Thu, Mar 19, 2015 at 04:39:49PM +0000, Ian Campbell wrote: > 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 <konrad.wilk@xxxxxxxxxx> > > Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx> > > I'm still a little concerned about xenstat.c's handling of errno! > =-ENOSYS, but not enough to nack. You mean not handling it :-) Yeah, there is certainly some more tmem related changes (another wrapper function) so that it returns 0 when 'tmem' is not enabled (and not modify 'errno'). But not this week.. > > _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |