From: Wei Liu Subject: Re: [PATCH v3 05/19] libxl: add vmemrange to libxl__domain_build_state Date: Tue, 13 Jan 2015 17:34:22 +0000 Message-ID: <20150113173422.GT4226@zion.uk.xensource.com> References: <1421151107-20842-1-git-send-email-wei.liu2@citrix.com> <1421151107-20842-6-git-send-email-wei.liu2@citrix.com> <21685.20370.369911.992806@mariner.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: <21685.20370.369911.992806@mariner.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 Jackson Cc: Wei Liu , Ian Campbell , dario.faggioli@citrix.com, xen-devel@lists.xen.org, jbeulich@suse.com, Elena Ufimtseva List-Id: xen-devel@lists.xenproject.org On Tue, Jan 13, 2015 at 05:02:10PM +0000, Ian Jackson wrote: > Wei Liu writes ("[PATCH v3 05/19] libxl: add vmemrange to libxl__domain_build_state"): > > A vnode consists of one or more vmemranges (virtual memory range). One > > example of multiple vmemranges is that there is a hole in one vnode. > > I'm finding this series a bit oddly structured. This patch, for > example, just introduces some new fields to an internal state struct - > but these fields are not initialised, set, or read. > The new fields (and other existing fields) are initialised to zero in initiate_domain_create, that's why it doesn't need to be explicitly initialised. These new fields are accessed in the next patch. I can either explicitly say so in commit log or squash this patch with the next one. Which way do you prefer? TBH I don't think this patch and next one should be squashed into one patch. Wei. > Ian.