From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Subject: Re: [PATCH] libxl: document memory parameters and behaviour Date: Wed, 14 Sep 2011 12:33:41 +0200 Message-ID: <20110914103341.GA21508@aepfle.de> References: <20080.30090.236544.113147@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Content-Disposition: inline In-Reply-To: <20080.30090.236544.113147@mariner.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Jackson Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Wed, Sep 14, Ian Jackson wrote: > commit a6b0f1e47447b7da2e838f9f68caf2019b177c36 > Author: Ian Jackson > Date: Wed Sep 14 10:34:54 2011 +0100 > > libxl: document memory parameters and behaviour > > Introduce a new comment in libxl.h, describing the various guest > memory usage parameters. Thanks for documenting this. How do the three describe values relate to xc_dominfo_t->nr_pages? The comment there suggests that nr_pages could be even higher at some point. Is the max number of pages a domain can allocate (xc_dominfo_t->max_memkb / 1024)? If so, then xenpaging should not use nr_pages but max_memkb. Olaf