From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [PATCH RFC] make error codes a formal part of the ABI Date: Wed, 14 Jan 2015 10:52:41 +0000 Message-ID: <54B64A79.3010805@linaro.org> References: <54B5540A02000078000547D4@mail.emea.novell.com> <1421166952.19103.148.camel@eu.citrix.com> <54B63AE60200007800054A1E@mail.emea.novell.com> <1421231291.19103.192.camel@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YBLWg-0006HO-TU for xen-devel@lists.xenproject.org; Wed, 14 Jan 2015 10:50:15 +0000 Received: by mail-we0-f169.google.com with SMTP id m14so8031430wev.0 for ; Wed, 14 Jan 2015 02:50:13 -0800 (PST) In-Reply-To: <1421231291.19103.192.camel@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 Campbell , Jan Beulich Cc: Keir Fraser , Stefano Stabellini , Andrew Cooper , Ian Jackson , Tim Deegan , xen-devel , =?windows-1252?Q?Roger_Pau_?= =?windows-1252?Q?Monn=E9?= List-Id: xen-devel@lists.xenproject.org Hi Ian, On 14/01/2015 10:28, Ian Campbell wrote: >>> (I suppose someone needs to patch libxc et al to actually use this) >> >> The primary consumer, as said in the description, is meant to be >> hvmloader. But yes, other tools parts may also want to follow >> that. > > /me wonders how libxc has been getting away with out this until now, > especially on non-Linux platforms. On FreeBSD, we translate the XEN errno to the guest one in the privcmd drivers. See http://xenbits.xen.org/gitweb/?p=people/royger/freebsd.git;a=patch;h=f09eeed01bc884b37e978f6ec6e3e7a86778ef4b Regards, -- Julien Grall