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

[Xen-devel] [PATCH RFC] python: disable libxl bindings

# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxx>
# Date 1343208142 -3600
# Node ID 7e2eec98b2835d490acadec711d751799843f014
# Parent  9ff37d4565de26bbc6b0771405d413020cbf4d47
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. Alternatively
we could just nuke the lot and if/when someone wants to resurrect them they can
find them in the VCS history.

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>

diff -r 9ff37d4565de -r 7e2eec98b283 tools/python/setup.py
--- a/tools/python/setup.py     Tue Jul 24 14:08:09 2012 +0100
+++ b/tools/python/setup.py     Wed Jul 25 10:22:22 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-devel mailing list



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