From: Samuel Thibault Subject: Re: [PATCH] increase initial memory reservation for stubdom based HVM domains Date: Thu, 15 Jan 2009 18:42:02 +0100 Message-ID: <20090115174202.GA16629@const.bordeaux.inria.fr> References: <496F6848.5040800@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org Keir Fraser, le Thu 15 Jan 2009 17:04:36 +0000, a =E9crit : > On 15/01/2009 16:46, "Stefano Stabellini" > wrote: > > this patch requests 32 additional MB of free RAM from dom0 when an HV= M > > domain is started, if the device model for the domain is provided by = a > > stubdom. > > This way there is no risk that a stubdom fails to populate the videor= am > > because the RAM freed for the videoram by dom0 has already been used = to > > create the stubdom. >=20 > Does this mean you're giving up on 'properly' fixing the auto ballooner= ? :-) >=20 > At least the +32 needs a comment. Perhaps abstraction into a function o= r > variable as well as a comment. Is the value 32 as arbitrary as it seems= ? 32 comes from stubdom/stubdom-dm. It is a bit arbitrary in that it may not be enough if you add a lot of network cards etc. but should usually be fine. Samuel