From: Mark Williamson Subject: Re: [PATCH] Fix xm mem-max command Date: Fri, 8 Jun 2007 15:23:19 +0100 Message-ID: <200706081523.19301.mark.williamson@cl.cam.ac.uk> References: Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: Masaki Kanno List-Id: xen-devel@lists.xenproject.org > When I tested xm mem-max and xm list, I saw the following error > message by xm list. Because xm mem-max always changes > "memory_static_max", I think that the cause of the error message > is it. This patch fixes it. Nice catch, patch looks good. Acked-by: Mark Williamson Cheers, Mark > # xm list --long PVdomain.1 | grep mem > (maxmem 1024) > (memory 1024) > (shadow_memory 0) > # xm mem-max PVdomain.1 512 > Error: (22, 'Invalid argument') > Usage: xm mem-max > > Set the maximum amount reservation for a domain. > # xm list --long PVdomain.1 | grep mem > Error: memory_dynamic_max must be less than or equal to memory_static_max > > > Signed-off-by: Masaki Kanno > > Best regards, > Kan -- Dave: Just a question. What use is a unicyle with no seat? And no pedals! Mark: To answer a question with a question: What use is a skateboard? Dave: Skateboards have wheels. Mark: My wheel has a wheel!