From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Rowe Subject: Re: [RFC] native python Xenstore module Date: Wed, 25 Feb 2015 09:39:09 +0000 Message-ID: <54ED983D.4060909@eu.citrix.com> References: <54D0D4B1.5080205@eu.citrix.com> <1424796100.27930.389.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YQYSf-0004ZJ-HU for xen-devel@lists.xenproject.org; Wed, 25 Feb 2015 09:40:57 +0000 In-Reply-To: <1424796100.27930.389.camel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org 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://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). 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. > 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. Simon