Skip to contentSkip to conversation

Where can I find some tutorial or manual on how to use xenstore?

DISCUSSION Lily Huang 3 participants 5 messages Jun 19, 2006 – Jun 26, 2006

lore
Share & tools
lore

Lily Huang

author
#0 lore raw

I found from xen block and network driver that xenstore seems to need python code for initialization and configuration. Is this true?
But the python code seems to be complicated.

Is there any complete tutorial or manual on how to use xenstore?

Thanks!
-lily

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw

Re: Where can I find some tutorial or manual on how to use?xenstore?

Quoted 7 lines · In article <[email protected]> you…

[-- multipart/alternative, encoding 7bit, 2 lines --]

   [-- text/plain, encoding 7bit, charset: ISO-8859-1, 9 lines --]

I found from xen block and network driver that xenstore seems to need python code for initialization and configuration. Is this true?
But the python code seems to be complicated.

I believe that the answer is that xenstore needs asistance from code running in userspace in domain U, and currently the only implemntation of that code is in python.

Signature · 1 line
Horms                                           http://www.vergenet.net/~horms/
#2 lore raw
In reply to Lily Huang
Quoted 5 lines · Lily Huang

I found from xen block and network driver that xenstore seems to need python code for initialization and configuration. Is this true?
But the python code seems to be complicated.

Is there any complete tutorial or manual on how to use xenstore?

Check out the tools/migrate/buscreate.c tool in
http://www.distlab.dk/hg/index.cgi/xen-evilman.hg , it creates a domain with disk and network access, without needing python.

Jacob

author
#3 lore raw

Thanks a lot!

This seems to be good for setting up block and network driver. But can the same code used for new drivers?

BTW: why do you call your repository evilman? ;-)

lily

Quoted 7 lines · Jacob Gorm Hansen
Quoted 1 line · Lily Huang

I found from xen block and network driver that xenstore seems to need

python

Quoted 3 lines

code for initialization and configuration. Is this true? But the python code seems to be complicated.

Quoted 8 lines
Quoted 1 line

Is there any complete tutorial or manual on how to use xenstore?

Check out the tools/migrate/buscreate.c tool in
http://www.distlab.dk/hg/index.cgi/xen-evilman.hg , it creates a domain with disk and network access, without needing python.

Jacob

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#4 lore raw
Quoted 4 lines · Lily Huang

Thanks a lot!

This seems to be good for setting up block and network driver. But can the same code used for new drivers?

No, you will need to adapt it a bit, but you can likely use one of the setup_vbd() or setup_vif() functions as template. Turning on the printf-enabled version of the xs_w() macro will probably also provide helpful information.

Quoted 1 line

BTW: why do you call your repository evilman? ;-)

That is a good question, please see the explanation in the paper "The Laundromat Model for Autonomic Cluster Computing", which just appear at ICAC06 and is available from my web page, at
http://www.diku.dk/~jacobg ;-)

Regards,
Jacob