From: Keir Fraser Subject: Re: [PATCH] 1/1 Better expose xenstore limits Date: Wed, 29 Apr 2009 22:23:01 +0100 Message-ID: References: <1241029092.5394.178.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1241029092.5394.178.camel@localhost.localdomain> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 29/04/2009 19:18, "Tim Post" wrote: > Someone using xs.h is going to be entirely unaware of said limits. > Xenstore internals will relay an appropriate errno if the limits are > exceeded, but I think many people will not know such limits exist. > > Xenwire is used when developing drivers.. not user space applications. > > Why not assert the limits in both at the cost of bothering the > preprocessor three times? Defining the same thing again but with a different name just for purposes of documentation is pretty barking. I suppose it is perhaps worth a documentation comment in xs.h, but no more than that. -- Keir