From: Wei Liu Subject: Re: [PATCH v7 4/9] libxl/gentypes.py: don't generate default values Date: Wed, 18 Jun 2014 16:11:31 +0100 Message-ID: <20140618151131.GJ20819@zion.uk.xensource.com> References: <1402997549-23136-1-git-send-email-wei.liu2@citrix.com> <1402997549-23136-5-git-send-email-wei.liu2@citrix.com> <1403100793.6568.38.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1403100793.6568.38.camel@kazak.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: Ian Campbell Cc: ian.jackson@eu.citrix.com, Wei Liu , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Wed, Jun 18, 2014 at 03:13:13PM +0100, Ian Campbell wrote: > On Tue, 2014-06-17 at 10:32 +0100, Wei Liu wrote: > > If a field: > > 0. is not of aggregate type > > and > > 1. is of array type and the array is not empty > > or 2. is of a type which has init_val and has been set to init_val, > > or 3. is of builtin type and has been set to internal default value, > > or 4. has been set to 0 > > This isn't quite true, since #4 depends on their being no init_val. > Prepend "is of a type which has no init_val and "? > You're right. I will prepend that sentence to #4. Wei. > > Signed-off-by: Wei Liu > > Other than that: Acked-by: Ian Campbell >