From: Ewan Mellor Subject: Re: [PATCH] [Bug 933] Fix the xm mem-max command Date: Mon, 26 Mar 2007 14:04:23 +0100 Message-ID: <20070326130423.GC5693@leeni.uk.xensource.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: Masaki Kanno Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Mon, Mar 26, 2007 at 03:16:55PM +0900, Masaki Kanno wrote: Content-Description: Mail message body > Hi, > > I fixed the Xen bugzilla 933 and other bug. > http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=933 Applied, thank you. > BTW, I tested the xm mem-max command with attached patch. > The "maxmem" and the "memory" were changed as follows by the > xm mem-max command. Is the result specification? or > bug? I thought that the result is bug, so I tried to remove > the line of "self.info['memory_dynamic_max'] = limit * MiB" > in setMemoryMaximum(). As the result, only the "maxmem" was > changed by the xm mem-max command. Am I right? Yes, I think you are right -- only the static_max value should be set. I'll fix this -- thanks. Ewan.