From: Dan Smith Subject: Re: [PATCH][XM-TEST] Test that tries to create a 16MB domain Date: Wed, 16 Nov 2005 11:50:15 -0800 Message-ID: <87psp0bceg.fsf@theine.beaverton.ibm.com> References: <87r79gcv60.fsf@theine.beaverton.ibm.com> <20051116193925.GE27984@leeni.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: In-Reply-To: <20051116193925.GE27984@leeni.uk.xensource.com> (Ewan Mellor's message of "Wed, 16 Nov 2005 19:39:25 +0000") List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ewan Mellor Cc: Xen Developers List-Id: xen-devel@lists.xenproject.org EM> Regarding the failure, perhaps a check or a warning would be a EM> good idea, but I'm wary of blocking out at certain memory limits. EM> If someone wrote a tiny OS (say the OS equivalent of Hello World) EM> then surely it would work in less than 16MB, so why should we put EM> such a limit? I completely agree with you. The --force flag would be one way around this. We could also add it to the xend configuration as an adjustable limit. Another option might be to have the limit determined by the builder that is used, right? switch (type) { case linux: limit = 24; case fatos: limit = 128; default: limit = 0; } Something like that? I'm not sure off hand if this info is available after build time for protecting mem-set, but we could make the limit a property of the domain to solve that easily. -- Dan Smith IBM Linux Technology Center Open Hypervisor Team email: danms@us.ibm.com