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

Re: [Xen-devel] errno i xs_wire.h




On 8 Nov 2005, at 21:59, Everhart, Craig wrote:

Yes, trusting that different OS's will map errno names to the same
integers is asking for trouble.  Doing it right means translating
the values between domains.  Harry had it right with "local" and
"wire" error values, translating between them.

There's overlap in the mappings, particularly for some of the
smallest error values, but it's best not to be seduced by
the overlap into assuming it continues.

We already have the distinction. We use text strings on the wire which are converted to/from local errno numbers at either end.

 -- Keir


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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