From mboxrd@z Thu Jan 1 00:00:00 1970 From: harry Subject: Re: errno i xs_wire.h Date: Tue, 08 Nov 2005 12:20:14 +0000 Message-ID: <1131452414.5970.12.camel@localhost.localdomain> References: Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jacob Gorm Hansen Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Yes, I think it is problematic. In the xenidc code for the USB driver I have a platform independent error type and functions to convert between local and wire protocol error values. On Tue, 2005-11-08 at 13:04 +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? > > Jacob > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel >