From: Ian Campbell Subject: Re: [PATCH 2/3] libxl_types.idl: use empty Struct for invalid domain type Date: Thu, 10 Apr 2014 16:13:17 +0100 Message-ID: <1397142797.9862.204.camel@kazak.uk.xensource.com> References: <1397133791-19885-1-git-send-email-wei.liu2@citrix.com> <1397133791-19885-3-git-send-email-wei.liu2@citrix.com> <1397133915.9862.162.camel@kazak.uk.xensource.com> <20140410130026.GE5690@zion.uk.xensource.com> <1397139886.9862.178.camel@kazak.uk.xensource.com> <1397142495.9862.203.camel@kazak.uk.xensource.com> <20140410151215.GJ5690@zion.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20140410151215.GJ5690@zion.uk.xensource.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: Wei Liu Cc: ian.jackson@eu.citrix.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Thu, 2014-04-10 at 16:12 +0100, Wei Liu wrote: > On Thu, Apr 10, 2014 at 04:08:15PM +0100, Ian Campbell wrote: > > On Thu, 2014-04-10 at 15:24 +0100, Ian Campbell wrote: > > > It is in theory legitimate for a valid value to have no extra > > > data in the enum -- a bunch of the entries in libxl_event could be so > > > for example. > > > > Would you mind tacking a patch onto this series to fixup the event ones > > to not use the empty struct trick? (I can't remember why we did this, > > Sure. Thanks!