All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anthony Liguori <aliguori@us.ibm.com>
To: Jacob Gorm Hansen <jacobg@diku.dk>
Cc: xen-devel@lists.xensource.com
Subject: Re: xenstore documentation
Date: Tue, 04 Oct 2005 10:55:04 -0500	[thread overview]
Message-ID: <4342A5D8.3080505@us.ibm.com> (raw)
In-Reply-To: <e08041f30510040833x40d4e51dr55210d975e656a75@mail.gmail.com>

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_mkdir("/tools/<yourtool>/domain/0")
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.

Regards,

Anthony Liguori

>Thanks again, just what I was looking for.
>Jacob
>
>  
>

  reply	other threads:[~2005-10-04 15:55 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-03 17:03 xenstore documentation Jacob Gorm Hansen
2005-10-04  6:27 ` Rami Rosen
2005-10-04 12:20   ` Jacob Gorm Hansen
2005-10-04 12:42     ` harry
2005-10-04 12:48       ` harry
2005-10-04 12:56         ` Jacob Gorm Hansen
2005-10-04 13:17           ` harry
2005-10-04 13:31             ` Jacob Gorm Hansen
2005-10-04 15:05               ` Anthony Liguori
2005-10-04 15:28                 ` Nivedita Singhvi
2005-10-04 15:46                   ` Anthony Liguori
2005-10-04 15:33                 ` Jacob Gorm Hansen
2005-10-04 15:55                   ` Anthony Liguori [this message]
2005-10-04 18:13                 ` Jacob Gorm Hansen
2005-10-04 18:20                   ` Anthony Liguori
2005-10-04 22:12                   ` Jacob Gorm Hansen
2005-10-05 17:17                   ` Anthony Liguori
2005-10-05 17:22                     ` Jacob Gorm Hansen
2005-10-04 12:55       ` NAHieu
2005-10-04 13:25         ` harry
2005-10-04 14:42           ` Rolf Neugebauer
2005-10-04 17:24             ` NAHieu
2005-10-04 17:36               ` Rolf Neugebauer
2005-10-04 17:42               ` Anthony Liguori
2005-10-04 18:00                 ` NAHieu
2005-10-04 18:06                   ` Anthony Liguori
  -- strict thread matches above, loose matches on Subject: below --
2005-10-04 21:47 Neugebauer, Rolf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4342A5D8.3080505@us.ibm.com \
    --to=aliguori@us.ibm.com \
    --cc=jacobg@diku.dk \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.