From: Dan Magenheimer Subject: RE: Strange (???) xl behavior for save, migrate and migrate-receive Date: Tue, 18 Oct 2011 10:58:08 -0700 (PDT) Message-ID: References: <20111017174036.GD29445@router-fw-old.local.net-space.pl> <4ffd9c88-88d2-437f-9af1-f3f0149334d9@default> <1318925941.16132.36.camel@zakaz.uk.xensource.com 20111018151630.GB9832@router-fw-old.local.net-space.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20111018151630.GB9832@router-fw-old.local.net-space.pl> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Daniel Kiper , Ian Campbell Cc: jeremy@goop.org, Ian, Konrad Wilk , Jackson , v.tolstov@selfip.ru, xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org > From: Daniel Kiper [mailto:dkiper@net-space.pl] > Subject: Re: [Xen-devel] Strange (???) xl behavior for save, migrate and = migrate-receive >=20 > On Tue, Oct 18, 2011 at 09:19:01AM +0100, Ian Campbell wrote: > > On Mon, 2011-10-17 at 19:44 +0100, Dan Magenheimer wrote: > > > In a recent internal discussion at Oracle, we were thinking about > > > whether to enable hotplug functionality in a guest kernel and it > > > raised some concerns about manageability. I think right now > > > the system administrator of the guest can arbitrarily increase > > > memory size beyond maxmem... > > > > The memory limit for a guest is ultimately controlled by the host > > administrator/toolstack. The in-guest admin cannot exceed that, even > > using hotplug. >=20 > Correct. >=20 > > I think that limit is currently always set to the current balloon targe= t. >=20 > Nope. It is set by maxmem option. >=20 > > AIUI Daniel's work only allows a guest admin to take advantage of new > > memory above maxmem _after_ the host admin has provisioned that RAM to > > the guest. IOW it only allows the guest to take advantage of new memory > > given to it and does not allow the guest to acquire new memory of its > > own accord. >=20 > Guest/host administartor could allocate for given guest no more memory th= an > maxmem (its value could be changed by xl mem-max ) all= ows, > regardless of mechanism (ballooning or memory hotplug) used for that allo= cation. > It means that memory hotplug does not pose any security threat in that ar= ea. OK, thanks for the clarification, Daniel and Ian. > > P.S. Also FYI, selfballooning is implemented in Oracle's kernel > > so we should work to ensure that selfballooning and hotplug > > work properly together. >=20 > I am happy to do that, however, I am very busy now. > Could we postpone this 2-3 months ??? Sure, that's fine. Dan