[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v2] make error codes a formal part of the ABI



On Thu, 2015-01-15 at 16:27 +0000, Andrew Cooper wrote:
> On 15/01/15 15:25, Jan Beulich wrote:
> 
> > Now that we have two cases where patches against hvmloader got
> > submitted needing to include the hypervisor's errno.h (for the host's
> > system header not necessarily reflecting the correct numbers), take
> > this as a strong sign that we need to make the error return values part
> > of the hypervisor ABI (which de-fact they've always been).
> > 
> > Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
> 
> How do the non XEN_ prefixed E$FOO get generated with this?  All
> "#define XEN_ERRNO(...)" tokenise XEN_## onto the name.

I thought that too at first, but

+#define XEN_ERRNO(name, value) name = XEN_##name,

adds XEN_ on the value, not the name.

Ian.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.