[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] python: disable libxl bindings


  • To: xen-changelog@xxxxxxxxxxxxxxxxxxx
  • From: Xen patchbot-unstable <patchbot@xxxxxxx>
  • Date: Thu, 26 Jul 2012 20:55:11 +0000
  • Delivery-date: Thu, 26 Jul 2012 20:55:19 +0000
  • List-id: "Change log for Mercurial \(receive only\)" <xen-changelog.lists.xen.org>

# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxx>
# Date 1343234359 -3600
# Node ID 2859b79fbbc7bf09f3113a36789826a732b0fdca
# Parent  ad4829c26a233c4de206fd667a388298fde5b6cb
python: disable libxl bindings

They are rather incomplete and have no users or maintainer. Many of the
functions which do exsit raise a NotImplemented exception. Disable them so that
users of the 4.2 release aren't confused into trying to use them.

This only does the minimal to disable them and makes it easy to locally
reenable if anyone wants to hack these into shape in the future.

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Committed-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---


diff -r ad4829c26a23 -r 2859b79fbbc7 tools/python/setup.py
--- a/tools/python/setup.py     Wed Jul 25 17:39:18 2012 +0100
+++ b/tools/python/setup.py     Wed Jul 25 17:39:19 2012 +0100
@@ -88,7 +88,8 @@ xl = Extension("xl",
                sources            = [ "xen/lowlevel/xl/xl.c", 
"xen/lowlevel/xl/_pyxl_types.c" ])
 
 plat = os.uname()[0]
-modules = [ xc, xs, ptsname, flask, xl ]
+modules = [ xc, xs, ptsname, flask ]
+#modules.extend([ xl ])
 if plat == 'SunOS':
     modules.extend([ scf, process ])
 if plat == 'Linux':

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.