From: "Jan Beulich" Subject: Re: initial ballooning amount on HVM+PoD Date: Mon, 20 Jan 2014 11:35:27 +0000 Message-ID: <52DD180F020000780011502D@nat28.tlf.novell.com> References: <52D94D3A0200007800114957@nat28.tlf.novell.com> <1389978832.6697.137.camel@kazak.uk.xensource.com> <52DCE7700200007800114E67@nat28.tlf.novell.com> <1390215013.20516.37.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1W5D8g-0002Vb-Bp for xen-devel@lists.xenproject.org; Mon, 20 Jan 2014 11:35:34 +0000 In-Reply-To: <1390215013.20516.37.camel@kazak.uk.xensource.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: Ian Campbell Cc: George Dunlap , xen-devel , Boris Ostrovsky , Keir Fraser List-Id: xen-devel@lists.xenproject.org >>> On 20.01.14 at 11:50, Ian Campbell wrote: > On Mon, 2014-01-20 at 08:08 +0000, Jan Beulich wrote: >> Yet we can't (without knowledge of the tools/ >> firmware implementation) tell regions backed by RAM assigned to the >> guest (e.g. the reserved pages below 1Mb, covering BIOS stuff) >> from regions reserved for other reasons. A specific firmware could, >> for example, have a larger BIOS region right below 4Gb (like many >> non-virtual BIOSes do), which would then also be RAM covered and >> hence also need accounting. > > Couldn't this be accounted for in the toolstack when considering the > target and max_pages? Perhaps it could, but ... > But I suppose it is too late for that now if you > want to DTRT on existing systems. ... yes, any tools side behavioral change would make the job even harder for the balloon driver, and wouldn't necessarily help with existing incarnations (and in fact wouldn't be unlikely to break some). Jan