From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Jackson Subject: Re: [v7][PATCH 13/16] libxl: construct e820 map with RDM information for HVM guest Date: Thu, 9 Jul 2015 19:17:35 +0100 Message-ID: <21918.47807.595901.751327@mariner.uk.xensource.com> References: <1436420047-25356-1-git-send-email-tiejun.chen@intel.com> <1436420047-25356-14-git-send-email-tiejun.chen@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1436420047-25356-14-git-send-email-tiejun.chen@intel.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: Tiejun Chen Cc: Stefano Stabellini , Wei Liu , Ian Campbell , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Tiejun Chen writes ("[v7][PATCH 13/16] libxl: construct e820 map with RDM information for HVM guest"): > Here we'll construct a basic guest e820 table via > XENMEM_set_memory_map. This table includes lowmem, highmem > and RDMs if they exist, and hvmloader would need this info > later. > > Note this guest e820 table would be same as before if the > platform has no any RDM or we disable RDM (by default). ... > tools/libxl/libxl_dom.c | 5 +++ > tools/libxl/libxl_internal.h | 24 +++++++++++++ > tools/libxl/libxl_x86.c | 83 ++++++++++++++++++++++++++++++++++++++++++++ ... > diff --git a/tools/libxl/libxl_dom.c b/tools/libxl/libxl_dom.c > index 62ef120..41da479 100644 > --- a/tools/libxl/libxl_dom.c > +++ b/tools/libxl/libxl_dom.c > @@ -1004,6 +1004,11 @@ int libxl__build_hvm(libxl__gc *gc, uint32_t domid, > goto out; > } > > + if (libxl__domain_construct_e820(gc, d_config, domid, &args)) { > + LOG(ERROR, "setting domain memory map failed"); > + goto out; > + } This is platform-independent code, isn't it ? In which case this will break the build on ARM, I think. Would an ARM maintainer please confirm. Aside from that I have no issues with this patch. Ian.