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.
Signature · 2 lines
Andre Przywara AMD-Operating System Research Center (OSRC), Dresden, Germany
Andre Przywara writes ("[Xen-devel] Who populates /local/domain/0 when using xl?"):
Quoted 5 lines
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.
Quoted 2 lines
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.
Quoted 7 lines · Ian Jackson
Andre Przywara writes ("[Xen-devel] Who populates /local/domain/0 when using xl?"):
Quoted 5 lines
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?
Quoted 8 lines
There is a very small amount of stuff which needs to be put in at start of day.
Quoted 2 lines
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.
Stefano Stabellini writes ("Re: [Xen-devel] Who populates /local/domain/0 when using xl?"):
Quoted 4 lines
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.