From: "Jan Beulich" Subject: Re: [v9][PATCH 07/16] hvmloader/e820: construct guest e820 table Date: Fri, 17 Jul 2015 11:50:46 +0100 Message-ID: <55A8FA26020000780009269C@mail.emea.novell.com> References: <1437093920-11472-1-git-send-email-tiejun.chen@intel.com> <1437093920-11472-8-git-send-email-tiejun.chen@intel.com> <55A8CD740200007800092545@mail.emea.novell.com> <55A8C65C.1020804@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <55A8C65C.1020804@intel.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Tiejun Chen Cc: Wei Liu , Ian Campbell , Stefano Stabellini , Andrew Cooper , Ian Jackson , xen-devel@lists.xen.org, Keir Fraser List-Id: xen-devel@lists.xenproject.org >>> On 17.07.15 at 11:09, wrote: >> And then of course there's the question of whether "nr" is really >> the right upper loop bound here: Just prior to this you added >> the hypervisor supplied entries - why would you need to iterate >> over them here? I.e. I'd see this better be moved ahead of that >> other code. >> > > Sounds you mean I should sync low/high memory in memory_map.map[] > beforehand and then fulfill e820 like this, Why would you want/need to sync into memory_map.map[]? That's certainly not what I suggested. Jan