WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH][XM-TEST] Test that tries to create a 16MB domain

To: Ewan Mellor <ewan@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH][XM-TEST] Test that tries to create a 16MB domain
From: Dan Smith <danms@xxxxxxxxxx>
Date: Wed, 16 Nov 2005 11:50:15 -0800
Cc: Xen Developers <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 16 Nov 2005 19:50:14 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20051116193925.GE27984@xxxxxxxxxxxxxxxxxxxxxx> (Ewan Mellor's message of "Wed, 16 Nov 2005 19:39:25 +0000")
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <87r79gcv60.fsf@xxxxxxxxxxxxxxxxxxxxxxxx> <20051116193925.GE27984@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)
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@xxxxxxxxxx


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel