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] Who populates /local/domain/0 when using xl?

To: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Who populates /local/domain/0 when using xl?
From: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Date: Tue, 1 Mar 2011 18:03:52 +0000
Cc: Andre Przywara <andre.przywara@xxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 01 Mar 2011 10:06:32 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <19821.13236.37035.635695@xxxxxxxxxxxxxxxxxxxxxxxx>
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: <4D6D0A4D.2080203@xxxxxxx> <19821.13236.37035.635695@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)
On Tue, 1 Mar 2011, Ian Jackson wrote:
> Andre Przywara writes ("[Xen-devel] Who populates /local/domain/0 when using 
> xl?"):
> > during my debug research I found that the xenstore's /local/domain/0 is 
> > basically empty when I use xl only (running the xencommons script only). 
> > When I start xend though it get populated properly.
> > Is this due to my b0rked installation (messed up during debug) or is 
> > this intended?
> 
> There is a very small amount of stuff which needs to be put in at
> start of day.
> 
> > I guess this is the reason why the vcpu-set on my box doesn't work, 
> > because if cannot change /local/domain/0/cpu/<n>/availability="offline".
> 
> I think libxl ought to create the parent nodes as necessary, in the
> vcpu-set calls.

I don't think you need to create the parent first when you create a new
xenstore node: the parent is created automatically for you.
The libxl function that adds the availability nodes on xenstore is
libxl_set_vcpuonline.


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

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