* Who populates /local/domain/0 when using xl?
@ 2011-03-01 15:01 Andre Przywara
2011-03-01 17:58 ` Ian Jackson
0 siblings, 1 reply; 4+ messages in thread
From: Andre Przywara @ 2011-03-01 15:01 UTC (permalink / raw)
To: xen-devel
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Who populates /local/domain/0 when using xl?
2011-03-01 15:01 Who populates /local/domain/0 when using xl? Andre Przywara
@ 2011-03-01 17:58 ` Ian Jackson
2011-03-01 18:03 ` Stefano Stabellini
0 siblings, 1 reply; 4+ messages in thread
From: Ian Jackson @ 2011-03-01 17:58 UTC (permalink / raw)
To: Andre Przywara; +Cc: xen-devel
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Who populates /local/domain/0 when using xl?
2011-03-01 17:58 ` Ian Jackson
@ 2011-03-01 18:03 ` Stefano Stabellini
2011-03-02 14:27 ` Ian Jackson
0 siblings, 1 reply; 4+ messages in thread
From: Stefano Stabellini @ 2011-03-01 18:03 UTC (permalink / raw)
To: Ian Jackson; +Cc: Andre Przywara, xen-devel
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Who populates /local/domain/0 when using xl?
2011-03-01 18:03 ` Stefano Stabellini
@ 2011-03-02 14:27 ` Ian Jackson
0 siblings, 0 replies; 4+ messages in thread
From: Ian Jackson @ 2011-03-02 14:27 UTC (permalink / raw)
To: Stefano Stabellini; +Cc: Andre Przywara, xen-devel
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-03-02 14:27 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-01 15:01 Who populates /local/domain/0 when using xl? Andre Przywara
2011-03-01 17:58 ` Ian Jackson
2011-03-01 18:03 ` Stefano Stabellini
2011-03-02 14:27 ` Ian Jackson
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.