Skip to contentSkip to conversation

python: disable libxl bindings

RFC PATCH In review Ian Campbell 2 participants 3 messages Jul 25, 2012

lore
Share & tools
lore
#0 lore raw

RFC PATCH 1/1 python: disable libxl bindings

# HG changeset patch
# User Ian Campbell <[email protected]> # 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.

tools/python/setup.py +2 -1
diff -r 9ff37d4565de -r 7e2eec98b283 tools/python/setup.py
@@ -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':