From: Ewan Mellor Subject: Re: [PATCH][XM-TEST] Test that tries to create a 16MB domain Date: Wed, 16 Nov 2005 19:39:25 +0000 Message-ID: <20051116193925.GE27984@leeni.uk.xensource.com> References: <87r79gcv60.fsf@theine.beaverton.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <87r79gcv60.fsf@theine.beaverton.ibm.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Dan Smith Cc: Xen Developers List-Id: xen-devel@lists.xenproject.org On Wed, Nov 16, 2005 at 10:19:35AM -0800, Dan Smith wrote: > This patch adds a test that tries to create a domain with only 16MB of > RAM. It verifies that the domain is created and that the console > works. > > Right now this test fails for me: the domain just dies immediately > with no indication of why, or with any useful console data. Should we > put a sanity check on xm's create and mem-set commands that prevent > the user from doing something we know won't work? Perhaps we can add > a --force flag to allow overrides. I've applied the patch, thanks. Regarding the failure, perhaps a check or a warning would be a good idea, but I'm wary of blocking out at certain memory limits. If someone wrote a tiny OS (say the OS equivalent of Hello World) then surely it would work in less than 16MB, so why should we put such a limit? Ewan.