From: Vincent Hanquez <vincent@xensource.com>
To: Umar Farooq Minhas <umarfm13@hotmail.com>
Cc: xen-devel@lists.xensource.com, aball@linux.vnet.ibm.com
Subject: Re: Regarding Xenstore/Xenbus
Date: Wed, 22 Nov 2006 16:52:09 +0100 [thread overview]
Message-ID: <20061122155209.GA317@snarc.org> (raw)
In-Reply-To: <BAY104-DAV99A4F68D7C43794F49177CDEC0@phx.gbl>
On Mon, Nov 20, 2006 at 08:21:20PM -0500, Umar Farooq Minhas wrote:
> Thanks for your reply. I was into trying out xenstore acess using
> 'libxenstore.so'. I have copied the exact code that I am trying to run
> (most of this comes from xenstore wiki). The issue is that I am able to run
> this code from dom0 but when I try to run it from inside a domU after the
> first printf output i.e. "Msg1" it terminates abnormally saying "unknown
> error". My guess is that its failing when it calls xs_daemon_open(). I
> can't figure out what am i missing. Some processes need to be started
> before i can acess xenstore? Are there any packages that need to be
> installed in domU to access xenstore? I already have 'xen-devel', 'xen-lib'
> and 'xen-tools' packages installed inside domU. Please help.
you need to use "domain_open" instead of "daemon_open" in domU.
daemon_open is using a direct unix socket to communicate with xenstored.
this socket is only accessible to dom0. domU need to use the other way
to communicate with xenstored.
Cheers,
--
Vincent Hanquez
next prev parent reply other threads:[~2006-11-22 15:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-19 8:09 Regarding Xenstore/Xenbus Umar Farooq Minhas
2006-11-20 22:02 ` Andrew D. Ball
2006-11-21 1:21 ` Umar Farooq Minhas
2006-11-22 15:52 ` Vincent Hanquez [this message]
2006-11-23 0:56 ` Umar Farooq Minhas
-- strict thread matches above, loose matches on Subject: below --
2006-11-23 20:22 Umar Farooq Minhas
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=20061122155209.GA317@snarc.org \
--to=vincent@xensource.com \
--cc=aball@linux.vnet.ibm.com \
--cc=umarfm13@hotmail.com \
--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.