From: Vincent Hanquez <vincent.hanquez@eu.citrix.com>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: Mihir Nanavati <mihirn@cs.ubc.ca>,
xen-devel <xen-devel@lists.xensource.com>
Subject: Re: [PATCH] libxl: Use xenbus to communicate with xenstore if the socket fails
Date: Thu, 9 Dec 2010 10:06:17 +0000 [thread overview]
Message-ID: <4D00AA19.30205@eu.citrix.com> (raw)
In-Reply-To: <1291886276.13966.4612.camel@zakaz.uk.xensource.com>
On 09/12/10 09:17, Ian Campbell wrote:
> On Wed, 2010-12-08 at 20:47 +0000, Mihir Nanavati wrote:
>> Adds an open xenstore connection function which tries to use the
>> xenbus interface (xs_domain_open) when the socket interface
>> (xs_daemon_opn) fails.
>
> I like the concept of this patch.
>
> I can't think of any reason why the callers of libxenstore should need
> to care about how which communication channel gets used so there's no
> reason for the library to defer that choice to the caller. So perhaps we
> should go one step further push this behaviour down into libxenstore
> itself? i.e. add "xs_open(int ro)" and make
> xs_{daemon,domain}_open{,_readonly} compatibility aliases to that
> function.
Unfortunately, there is practical difference between the socket and the
page interface. Which is the reason why every xs connection in xapi are
sockets; IIRC polling for events on the page interface didn't really
work; I think there was at least 1 other practical differences, but it
seems to have eluded me.
--
Vincent
next prev parent reply other threads:[~2010-12-09 10:06 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-08 20:47 [PATCH] libxl: Use xenbus to communicate with xenstore if the socket fails Mihir Nanavati
2010-12-09 9:17 ` Ian Campbell
2010-12-09 9:59 ` Mihir Nanavati
2010-12-09 10:37 ` Ian Campbell
2010-12-09 10:06 ` Vincent Hanquez [this message]
2010-12-09 10:21 ` Ian Campbell
2010-12-09 10:53 ` Vincent Hanquez
2010-12-09 11:39 ` Ian Campbell
2010-12-10 6:52 ` Mihir Nanavati
2010-12-10 9:07 ` Ian Campbell
2010-12-10 9:38 ` Mihir Nanavati
2010-12-10 9:48 ` Ian Campbell
2010-12-10 9:55 ` Mihir Nanavati
2010-12-10 10:03 ` Ian Campbell
2010-12-10 10:34 ` Mihir Nanavati
2010-12-10 10:45 ` Ian Campbell
2010-12-10 11:10 ` Mihir Nanavati
2010-12-10 11:24 ` Ian Campbell
2010-12-10 11:39 ` Mihir Nanavati
2010-12-10 11:52 ` Ian Campbell
2010-12-10 17:49 ` Ian Jackson
2010-12-13 17:19 ` [PATCH] libxl: Use xenbus to communicate with xenstore if the socket failsx Stefano Stabellini
2010-12-10 17:28 ` [PATCH] libxl: Use xenbus to communicate with xenstore if the socket fails Ian Jackson
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=4D00AA19.30205@eu.citrix.com \
--to=vincent.hanquez@eu.citrix.com \
--cc=Ian.Campbell@citrix.com \
--cc=mihirn@cs.ubc.ca \
--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.