WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] errno i xs_wire.h
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Tue, 8 Nov 2005 13:25:18 +0000
Cc: Jacob Gorm Hansen <jacobg@xxxxxxx>
Delivery-date: Tue, 08 Nov 2005 13:26:03 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <e08041f30511080404s6b838e38u83b3cd7f6224e5f7@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <e08041f30511080404s6b838e38u83b3cd7f6224e5f7@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.8.3
> 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)

Isn't the basic set of errno vals posix standardised?  So even if a guest OS 
doesn't deal in errnos itself, it can just import the BSD errno.h or 
similar...?

Cheers,
Mark

> in the wire-protocol not 
> problematic? Should xs_wire.h define its own set of constants to be
> used instead?
>
> Jacob
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel

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

<Prev in Thread] Current Thread [Next in Thread>