All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Campbell <ian.campbell@citrix.com>
To: Simon Rowe <simon.rowe@eu.citrix.com>
Cc: xen-devel@lists.xenproject.org
Subject: Re: [RFC] native python Xenstore module
Date: Wed, 25 Feb 2015 10:12:56 +0000	[thread overview]
Message-ID: <1424859176.20243.64.camel@citrix.com> (raw)
In-Reply-To: <54ED983D.4060909@eu.citrix.com>

On Wed, 2015-02-25 at 09:39 +0000, Simon Rowe wrote:
> On 24/02/15 16:41, Ian Campbell wrote:
> > Are/were you aware ofhttps://pypi.python.org/pypi/pyxs  which sounds
> > like something similar, judging from its blurb alone?
> 
> No, I wasn't. It certainly looks a more solid implementation than mine.

https://github.com/selectel/pyxs seems to be the real upstream, pypi
seems a bit behind.

> >
> > https://launchpad.net/pyxenstore/  might be too, although I don't know if
> > that one is pure python.
> 
> This looks to be just a higher level C to python interface than 
> xen.lowlevel.xs.
> 
> > Anyhow is your intention to have this added to the xen.git tree, perhaps
> > even replacing tools/python/xen/lowlevel/xs/ or just to gather feedback
> > on some code destined for an external project?
> I was interested in feedback about having implementations such as these 
> more easily consumed by guest distros. At present using something linked 
> against libxenstore.so requires Xen tools to have been built 
> (obviously).

Yes, I can see that being rather annoying to have to arrange.

>  If there are already serviceable implementations available 
> (which it appears there is) then the best policy is probably to 
> encourage distros to package and include them.

I think that's probably the best approach.

(https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=692516 for Debian)

> > Personally I don't see a problem with including it in tree, replacing
> > xen.lowlevel.xs might require thinking a little about API compatibility,
> > which might be a pain...
> pyxs even has a compat interface.

Neat!

Since today happens to be a doc day I've updated
http://wiki.xen.org/wiki/XenStore_Reference to point to pyxs (and nuked
a load of old xend related stuff).

/me ponders "git rm tools/python/xen/lowlevel/xs" ;-)

Ian.

      reply	other threads:[~2015-02-25 10:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-03 14:01 [RFC] native python Xenstore module Simon Rowe
2015-02-24 16:41 ` Ian Campbell
2015-02-24 17:06   ` Sander Eikelenboom
2015-02-25  9:39   ` Simon Rowe
2015-02-25 10:12     ` Ian Campbell [this message]

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=1424859176.20243.64.camel@citrix.com \
    --to=ian.campbell@citrix.com \
    --cc=simon.rowe@eu.citrix.com \
    --cc=xen-devel@lists.xenproject.org \
    /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.