From: Ian Campbell Subject: Re: [PATCH 3/3] libxl: save/restore callbacks: enforce a useful errno value Date: Mon, 22 Sep 2014 15:07:12 +0100 Message-ID: <1411394832.14971.3.camel@kazak.uk.xensource.com> References: <21536.10963.947982.42738@mariner.uk.xensource.com> <1411394299-8584-3-git-send-email-ian.jackson@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1411394299-8584-3-git-send-email-ian.jackson@eu.citrix.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: Ian Jackson Cc: olaf@aepfle.de, xen-devel@lists.xensource.com, laijs@cn.fujitsu.com, wency@cn.fujitsu.com, yunhong.jiang@intel.com, eddie.dong@intel.com, yanghy@cn.fujitsu.com List-Id: xen-devel@lists.xenproject.org On Mon, 2014-09-22 at 14:58 +0100, Ian Jackson wrote: > libxl__xc_domain_saverestore_async_callback_done now no longer assumes > that the caller has set errno. Instead, it takes a new parameter > containing the errno value. > > For one of the call sites it is obvious what value should be passed. > > All the others have been left untouched. As a result the code now > DOES NOT COMPILE. I suppose the intention here is that Wen takes this as a basis and makes it return the appropriate error codes to suit remus's usage? Ian.