From: Ian Campbell Subject: Re: [PATCH 2/2] libxl: xl mem-set should not enforce memory limits Date: Fri, 15 Mar 2013 16:59:34 +0000 Message-ID: <1363366774.520.34.camel@zakaz.uk.xensource.com> References: <1363364702-12885-1-git-send-email-daniel.kiper@oracle.com> <1363364702-12885-3-git-send-email-daniel.kiper@oracle.com> <1363365173.520.33.camel@zakaz.uk.xensource.com> <20130315165757.GB16644@phenom.dumpdata.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20130315165757.GB16644@phenom.dumpdata.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: Konrad Rzeszutek Wilk Cc: Daniel Kiper , "xen-devel@lists.xensource.com" , Ian Jackson List-Id: xen-devel@lists.xenproject.org On Fri, 2013-03-15 at 16:57 +0000, Konrad Rzeszutek Wilk wrote: > On Fri, Mar 15, 2013 at 04:32:53PM +0000, Ian Campbell wrote: > > On Fri, 2013-03-15 at 16:25 +0000, Daniel Kiper wrote: > > > xl mem-set should not enforce memory limits. If it does > > > > NB the title says libxl but this is actually an xl change. > > > > > then after decreasing reservation there is no chance to > > > increase reservation directly from guest domain by > > > writing to /sys/devices/system/xen_memory/xen_memory0/target* > > > > This is a feature not a bug I think. It is intentional that if the host > > admin sets a memory target the a guest admin cannot exceed that limit. > > Even thought 'xm' did not do it? Yes. Please check the archives, this was discussed at the time (at length IIRC) Ian.