[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Xenstore filling information about Dom0

  • To: Juergen Gross <jgross@xxxxxxxx>, Julien Grall <julien.grall@xxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: "Waseem, Amna" <a.waseem@xxxxxxxxxxxxxxxxxxx>
  • Date: Thu, 3 Aug 2017 07:59:14 +0000
  • Accept-language: en-US, de-DE
  • Delivery-date: Thu, 03 Aug 2017 08:00:14 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>
  • Thread-index: AQHTC3eXsaaGUKI410uOb+ZhvAq/sqJwudmAgAGLqqc=
  • Thread-topic: [Xen-devel] Xenstore filling information about Dom0

Thanks a lot.

I assume I will use manual_node to add nodes before starting xenstore daemon 

If I understand, manual_node just adds nodes and children. It doesnot add 

Is there any way to add value of nodes as well?

From: Juergen Gross <jgross@xxxxxxxx>
Sent: Wednesday, August 2, 2017 12:21 PM
To: Waseem, Amna; Julien Grall; xen-devel
Subject: Re: [Xen-devel] Xenstore filling information about Dom0

On 02/08/17 12:12, Waseem, Amna wrote:
> Hello All,
> Can anyone tell me how xenstore filesystem gets populated about information 
> about Dom0.

see tools/helpers/xen-init-dom0.c

> Which function or script creates node for local domain?

see tools/libxl/ (various source files)

> I want to statically configure the xenstore about guest parameters.

I guess you want to create xenstore nodes for all guests? You could use
a Xenstore watch for "@introduceDomain" to be called whenever a new
guest is added to Xenstore.

> I want to statically create nodes before bringing up xenstored daemon.

How should that work? Without xenstored daemon there is no Xenstore.
You can, however, create nodes at xenstored startup. See function
setup_structure() in tools/xenstore/xenstored_core.c


Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.