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] Add Small Memory Warning to XM for create and me

To: Anthony Liguori <aliguori@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Add Small Memory Warning to XM for create and mem-set
From: Dan Smith <danms@xxxxxxxxxx>
Date: Fri, 21 Apr 2006 15:57:49 -0700
Cc: Ewan Mellor <ewan@xxxxxxxxxxxxx>, Daniel Stekloff <dsteklof@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Delivery-date: Fri, 21 Apr 2006 15:58:34 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <44495F9E.6020704@xxxxxxxxxx> (Anthony Liguori's message of "Fri, 21 Apr 2006 17:41:34 -0500")
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: <1145632658.2566.9.camel@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <200604211629.40691.mark.williamson@xxxxxxxxxxxx> <44495F9E.6020704@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.4 (gnu/linux)
AL> I'm not sure I agree that Xend is the right place to do this.  You
AL> would have to add another parameter to the either the domain
AL> config or to the actual create() call that basically had the
AL> semantics of "if memory is less than X, throw an exception."  That
AL> seems like a rather awkward addition to the interface and it makes
AL> client code harder to write.

I agree.

AL> Thoughts?

I think it's a good idea.  I'd rather see it in the client than in
Xend.  If some GUI app wants to have a configurable limit that's easy
for the user to access, then it'll just end up minding the limit
itself, and call create() with the force flag each time, which defeats
the point anyway.

-- 
Dan Smith
IBM Linux Technology Center
Open Hypervisor Team
email: danms@xxxxxxxxxx

Attachment: pgpTmqiam2n6m.pgp
Description: PGP signature

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