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

Re: [Xen-devel] xenstore documentation

Jacob Gorm Hansen wrote:

Excellent, thank you!

One question: What (if anything) do I need to do to introduce dom0 and
xenstore to eachother?
After booting and before doing anything else (but after starting xenstore):

lstore = rstore = 0;
xc_evtchn_bind_interdomain(0, 0, &lstore, &rstore)
mfn_store = xc_init_store(rstore);
xs_introduce_domain(0, mfn_store, lstore, "/tools/<yourtool>/domain/0")

The store is supposed to remember introductions but I'm not sure if Rusty has gotten to that yet. If things don't work when you restart the store, it means that it isn't remembering them, in which case, you have to reintroduce. You'll have to remember the domain-0 stuff somehow as you cannot call xc_init_store more than once.


Anthony Liguori

Thanks again, just what I was looking for.

Xen-devel mailing list



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