From: Ian Campbell Subject: Re: [PATCH v4 4/9] tools/libxc: Scripts for inspection/valdiation of legacy and new streams Date: Wed, 7 May 2014 13:03:21 +0100 Message-ID: <1399464201.13430.24.camel@kazak.uk.xensource.com> References: <1398883012-28413-1-git-send-email-andrew.cooper3@citrix.com> <1398883012-28413-5-git-send-email-andrew.cooper3@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1398883012-28413-5-git-send-email-andrew.cooper3@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Andrew Cooper Cc: Frediano Ziglio , David Vrabel , Xen-devel List-Id: xen-devel@lists.xenproject.org On Wed, 2014-04-30 at 19:36 +0100, Andrew Cooper wrote: I suppose these are for debugging/inspecting rather than to be used in practice? In which case I don't think there's any need for me to review especially. My only thought is that the need to repeat all of the data types is a bit unfortunate and risks bugs and/or deviation. I can well imagine you don't want to invent up an IDL or anything, is there anything out there which might suffice? SWIG seems like overkill. http://code.google.com/p/ctypesgen/ perhaps? ("these debug tools are not important enough to stress over" is a valid rebuttal here IMHO).