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]:libxl__get_free_memory_slack cannot return when

To: "Jun Zhu (Intern)" <Jun.Zhu@xxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH]:libxl__get_free_memory_slack cannot return when creating a vm by xl
From: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Date: Mon, 27 Sep 2010 12:21:04 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Stefano Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>
Delivery-date: Mon, 27 Sep 2010 04:21:59 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <433DDF91DFB08148BAD3FDB6FDDA314C9F3703C603@xxxxxxxxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <433DDF91DFB08148BAD3FDB6FDDA314C9F3703C5FF@xxxxxxxxxxxxxxxxxxxxxxxxx>, <alpine.DEB.2.00.1009271136220.2864@kaball-desktop> <433DDF91DFB08148BAD3FDB6FDDA314C9F3703C603@xxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)
On Mon, 27 Sep 2010, Jun Zhu (Intern) wrote:
> Hi,
> 
> > How did you get in the state of having the target on xenstore but not
> > freemem-slack?
> > If you are using libxl this shouldn't be possible unless you mess around
> > with xenstore directly.
> 
> I did not try to find where target is created. I think the target is created 
> when dom0 starts. 
> I do nothing related with the dom0 infomation in xenstore. 
> 

Are you starting xend at boot?

> But, in my opition, it is not enough to check dom0 memory info only by 
> target. 

In that case you should add two more checks for the existance of
static-max and freemem-slack, printing a warning if only one or two of
the nodes are missing (because this state shouldn't be possible if the
user is only using libxl/xl).
If some nodes are missing, we should only write those nodes to xenstore
without overwriting the informations that are already there.


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

<Prev in Thread] Current Thread [Next in Thread>