From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH v6 05/23] libxc: add p2m_size to xc_dom_image Date: Mon, 2 Mar 2015 15:28:00 +0000 Message-ID: <1425310080.21151.85.camel@citrix.com> References: <1424966166-2388-1-git-send-email-wei.liu2@citrix.com> <1424966166-2388-6-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-6-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: Ian Jackson , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Thu, 2015-02-26 at 15:55 +0000, Wei Liu wrote: > Add a new field p2m_size to keep track of the number of pages covered by > p2m. Change total_pages to p2m_size in functions which in fact need > the size of p2m. > > This is needed because we are going to ditch the assumption that PV x86 > has only one contiguous ram region. Originally the p2m size was always > equal to total_pages, but we will soon change that in later patch. > > This patch doesn't change the behaviour of libxc. > > Signed-off-by: Wei Liu > Reviewed-by: Dario Faggioli Acked-by: Ian Campbell