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

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



On Tue, Nov 08, 2005 at 01:04:33PM +0100, Jacob Gorm Hansen wrote:

> hi,
> 
> playing with xenbus support in mini-os, I noticed that xs_wire.h
> references errno constants such as EINVAL. Is the use of these
> constants (which could be guest-OS specific) in the wire-protocol not
> problematic? Should xs_wire.h define its own set of constants to be
> used instead?

I believe that xsd_errors is a translation table between your EINVAL integer
code and the string "EINVAL", for use on the wire.  That means that the table
is correct to use the integer code appropriate to your platform.

Ewan.

_______________________________________________
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®.