Andre Przywara
2011-Mar-01 15:01 UTC
[Xen-devel] Who populates /local/domain/0 when using xl?
Hi, 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? 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". Thanks, Andre. -- Andre Przywara AMD-Operating System Research Center (OSRC), Dresden, Germany _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Ian Jackson
2011-Mar-01 17:58 UTC
Re: [Xen-devel] Who populates /local/domain/0 when using xl?
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. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Stefano Stabellini
2011-Mar-01 18:03 UTC
Re: [Xen-devel] Who populates /local/domain/0 when using xl?
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@lists.xensource.com http://lists.xensource.com/xen-devel
Ian Jackson
2011-Mar-02 14:27 UTC
Re: [Xen-devel] Who populates /local/domain/0 when using xl?
Stefano Stabellini writes ("Re: [Xen-devel] Who populates /local/domain/0 when using xl?"):> 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.So is the problem that the vcpu management code expects these entries to exist on entry ? Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel