From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH v6 14/23] libxc: allocate memory with vNUMA information for HVM guest Date: Mon, 2 Mar 2015 15:43:01 +0000 Message-ID: <1425310981.21151.93.camel@citrix.com> References: <1424966166-2388-1-git-send-email-wei.liu2@citrix.com> <1424966166-2388-15-git-send-email-wei.liu2@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1424966166-2388-15-git-send-email-wei.liu2@citrix.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: Dario Faggioli , Ian Jackson , Elena Ufimtseva , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Thu, 2015-02-26 at 15:55 +0000, Wei Liu wrote: > The algorithm is more or less the same as the one used for PV guest. > Libxc gets hold of the mapping of vnode to pnode and size of each vnode > then allocate memory accordingly. > > And then the function returns low memory end, high memory end and mmio > start to caller. Libxl needs those values to construct vmemranges for > that guest. > > Signed-off-by: Wei Liu Acked-by: Ian Campbell