aboutsummaryrefslogtreecommitdiffstats
path: root/tools/python/setup.py
Commit message (Collapse)AuthorAgeFilesLines
* tools: drop 'sv'Ian Campbell2013-08-201-1/+0
| | | | | | | | | | | | I'm not even sure what this thing is. Looks like some sort of Twisted Python based frontend to xend. Whatever it is I am perfectly sure no one can be using it. Apart from drive by build fixes caused by updates elsewhere it has seen no real development since 2005. I suspect it was never even finished/usable. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
* tools: delete xsviewIan Campbell2013-08-201-1/+0
| | | | | | | | | | | This was apparently a Qt xenstore viewer. It hasn't been touched since it was first committed in 2007 and I can't beleive anyone is actually using even if it still happens to work. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com> Acked-by: Matt Wilson <msw@amazon.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
* tools: make building xend configurable.Ian Campbell2013-08-201-9/+26
| | | | | | | | | | | | | xend has been deprecated for 2 releases now. Lets make it possible to not even build it. For now I'm leaving the default of on but I would like to change that before the 4.4 release. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com> Acked-by: Matt Wilson <msw@amazon.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
* python: disable libxl bindingsIan Campbell2012-07-251-1/+2
| | | | | | | | | | | | | 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@citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Campbell <ian.campbell@citrix.com>
* tools/python: remove references to removed libflask from setup.pyOlaf Hering2012-02-091-5/+3
| | | | | | | | | | | | | | | Build in SLES11 SP1/2 fails after libflask removal. > building 'flask' extension > error: ../../tools/flask/libflask/libflask.so: No such file or > directory > make[3]: *** [install] Error 1 > make[3]: Leaving directory > `/usr/src/packages/BUILD/xen-4.2.24701/non-dbg/tools/python' > make[2]: *** [subdir-install-python] Error 2 Signed-off-by: Olaf Hering <olaf@aepfle.de> Committed-by: Keir Fraser <keir@xen.org>
* tools/flask: remove libflaskDaniel De Graaf2012-02-061-1/+1
| | | | | | | | This library has been deprecated since July 2010; remove the in-tree users and library. Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov> Committed-by: Keir Fraser <keir@xen.org>
* libxl: do not expose libxenctrl/libxenstore headers via libxl.hIan Campbell2011-04-061-1/+1
| | | | | | | | | | | | This completely removes libxenstore from libxl users' view. xl still needs libxenctrl directly due to the direct use of the xentoollog functionality but it is not exposed to the indirect linkage anymore. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
* xend: Fix startup after removal of ACM support.Keir Fraser2011-03-271-0/+1
| | | | Signed-off-by: Keir Fraser <keir@xen.org>
* Remove unmaintained Access Control Module (ACM) from hypervisor.Keir Fraser2011-03-251-10/+1
| | | | Signed-off-by: Keir Fraser <keir@xen.org>
* tools: link each shared library or binary only against the libraries it usesIan Campbell2011-03-171-78/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In particular if binary A uses libB and libB uses libC entirely internally then A does not need to link against libC only libB. However when linking binary A the linker does need to have visibility of the libraries which libB links against (libC in this example). For out of tree uses this is achieved without fuss due because the libraries are installed in a standard path. However in the case of in-tree users the linker needs a hint in the form of the -rpath-link option. Therefore a new class of build variable, $(SHLIB_FOO), is introduced which includes the linker options needed to link against a library which uses libFOO. The intention is that $(LDLIBS_bar) will include the $(SHLIB_foo)s which it uses where necessary rather requiring that users are aware of this. For the python extensions this change appears particularly large since previously each of python bindings were linked against the union of all possible libraries used by all bindings instead of just what they individually needed. This change removes a dependency on libdl.so from nearly everything in the system, only libxenctrl actually uses it. In the context of xl/libxl the intention of libxl is to remove any need for a user of libxl to know about libxenstore or libxenctrl, however in the current build it is xl which links against those libraries rather than libxl (which only links against libc). After this change libxl correctly depends on the libraries it uses and xl does not depend on libraries which it is not support to be required to know about. Note that xl does depend on libxenctrl.so since it uses xtl_* directly. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
* tools/python: Rebuild python extensions if depends have changedJuergen Gross2010-12-101-0/+18
| | | | | | | | Adds depends information for building python extensions. The extensions depend on the library binaries they are using. Signed-off-by: juergen.gross@ts.fujitsu.com Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
* tools/python: do not link against blktap except on LinuxGianni Tedesco2010-09-231-3/+5
| | | | | | | | | Link to libblktapctl in python setup only for platforms which build it. This fixes a build breakage on NetBSD introduced in 330c4d9010da. Signed-off-by: Gianni Tedesco <gianni.tedesco@citrix.com> Tested-by: Christoph Egger <Christoph.Egger@amd.com> Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
* libxl, tools/python: Add libxl python bindingGianni Tedesco2010-09-161-2/+17
| | | | | | | | | | | | | | | | Introduce python binding for libxl. The binding is not yet complete but serveral methods are implemented and tested. Those which are implemented provide examples of the two or three basic patterns that most future methods should follow. Over 5,000 lines of boilerplate is automatically generated to wrap and export all relevant libxl structure definitions. There are a few places where such code cannot be fully auto-generated and special hooks are declared and stubbed where, for example, conversion between libxl_file_reference and a python file object is required. Signed-off-by: Gianni Tedesco <gianni.tedesco@citrix.com> Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
* Remus: add python control extensionsKeir Fraser2009-11-131-3/+22
| | | | Signed-off-by: Brendan Cully <brendan@cs.ubc.ca>
* Fix qemu spawn for SolarisKeir Fraser2009-03-121-0/+8
| | | | | | | | On Solaris, xend runs in a 'process contract' such that all children are killed when the service is restarted. Spawn qemu processes in a new contract to avoid this. Signed-off-by: John Levon <john.levon@sun.com>
* Move generation of public header hierarchy into the tools.Keir Fraser2008-01-261-0/+1
| | | | | | | This patch merges the two versions of public header generation currently used in the build into one. Signed-off-by: Bastian Blank <waldi@debian.org>
* xsview: a xenstore viewer written in PyQT.Keir Fraser2007-10-041-0/+1
| | | | | From: Mark Williamson <mark.williamson@cl.cam.ac.uk> Signed-off-by: Keir Fraser <keir@xensource.com>
* xend: Always build lowlevel security modules, as there are somekfraser@localhost.localdomain2007-08-311-6/+1
| | | | | dependencies on these from with xend proper. Signed-off-by: Keir Fraser <keir@xensource.com>
* Xen Security Modules: Tools.kfraser@localhost.localdomain2007-08-311-1/+18
| | | | Signed-off-by: George Coker <gscoker@alpha.ncsc.mil>
* Move ptsname module under tools/python.kfraser@localhost.localdomain2007-03-051-1/+8
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* Allow xend configuration via Solaris SMF as well as the config file.Ewan Mellor2007-01-181-1/+12
| | | | Signed-off-by: John Levon <john.levon@sun.com>
* Dynamically link to libgcc on Solaris. Also clean up duplicate -Wall flags.kfraser@localhost.localdomain2006-11-021-2/+1
| | | | Signed-off-by: John Levon <john.levon@sun.com>
* This patch adds new python access control management scripts, which smh22@firebug.cl.cam.ac.uk2006-04-241-1/+8
| | | | | | | | | | integrate into Xen Management and which support the new access control labels (labels replace the ssidref numbers at the management user interface). Signed-off by: Reiner Sailer <sailer@us.ibm.com>
* Added a stress test for the Xenstore-Python interface layer.emellor@leeni.uk.xensource.com2005-12-141-0/+1
| | | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Reverse accidental commits for changesets 8001 and 7996-7999.emellor@leeni.uk.xensource.com2005-11-231-1/+1
| | | | | | | | The Mercurial Queues extensions suddenly looks a lot less useful than it first seemed. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* imported patch my-configemellor@leeni.uk.xensource.com2005-11-231-1/+1
|
* Added unit test for the DevController subclasses.emellor@leeni.uk.xensource.com2005-11-211-0/+1
| | | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Added xen.xm.tests package to build.emellor@leeni.uk.xensource.com2005-10-301-1/+2
| | | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Added Zope's test.py, and a unit test to sxp. This test itself isn't veryemellor@ewan2005-10-061-1/+3
| | | | | | | | exciting, but it's there to encourage the creation of more interesting ones. A test target has been added to the main Makefile, and the one in tools/python. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* g/c unused xu extension.cl349@firebug.cl.cam.ac.uk2005-09-071-12/+3
| | | | | Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* Break the building/save/restore code out into a separate library libxenguest.cl349@firebug.cl.cam.ac.uk2005-08-251-1/+1
| | | | | | | Also update the tools accordingly. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* Rename libxc => libxenctrl and xc.h => xen/xenctrl.hcl349@firebug.cl.cam.ac.uk2005-08-241-2/+2
| | | | | | | | | Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk> --HG-- rename : tools/libxc/xc.h => tools/libxc/xenctrl.h
* Python build fix.kaf24@firebug.cl.cam.ac.uk2005-08-171-1/+1
|
* Add XenSV back into the repository.twilkie@paploo.uk.xensource.com2005-07-261-0/+1
| | | | | | Now uses Python Server Pages, not twisted.
* bitkeeper revision 1.1713.3.2 (42b296adTFf-i3SL6NuYF5MX4ai91Q)cl349@firebug.cl.cam.ac.uk2005-06-171-1/+1
| | | | | | | | | | | | Makefile: Build libxenstore-pic.a. setup.py: Link with libxenstore-pic.a. Makefile: Build libxc-pic.a. Build xenstore once is enough. Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* bitkeeper revision 1.1662.1.18 (42a5a348BpHwgoiWQI1wI9LMej7F3w)cl349@firebug.cl.cam.ac.uk2005-06-071-0/+1
| | | | | | | | | | setup.py: Add xen.xend.xenstore. xsresource.py, xsobj.py, xsnode.py, __init__.py: new file Signed-off-by: Mike Wray <mike.wray@hp.com> Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* bitkeeper revision 1.1662.1.17 (42a59f62TbTw4kErDSfuOYh8iAzCuA)cl349@firebug.cl.cam.ac.uk2005-06-071-3/+12
| | | | | | | | | | | | | | setup.py: Add xenstore python bindings. xs.c: new file params.py: XSDAEMON_DEBUG -> XENSTORED_DEBUG Makefile: xenstore is also a library -- build it before python. Signed-off-by: Mike Wray <mike.wray@hp.com> Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* bitkeeper revision 1.1542.1.1 (42943a71LGhR_dI1LOX6lKtJ08zzTA)cl349@firebug.cl.cam.ac.uk2005-05-251-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | setup.py, Makefile: Remove XenSV -- it's been broken since twisted was removed. Many files: Delete: tools/misc/xensv Delete: tools/python/xen/sv/params.py Delete: tools/python/xen/sv/__init__.py Delete: tools/python/xen/sv/MigrateDomain.py Delete: tools/python/xen/sv/Daemon.py Delete: tools/python/xen/sv/util.py Delete: tools/python/xen/sv/Wizard.py Delete: tools/python/xen/sv/TabView.py Delete: tools/python/xen/sv/SaveDomain.py Delete: tools/python/xen/sv/RestoreDomain.py Delete: tools/python/xen/sv/NodeInfo.py Delete: tools/python/xen/sv/Main.py Delete: tools/python/xen/sv/HTMLBase.py Delete: tools/python/xen/sv/GenTabbed.py Delete: tools/python/xen/sv/DomList.py Delete: tools/python/xen/sv/DomInfo.py Delete: tools/python/xen/sv/CreateDomain.py Delete: tools/sv/images/unpause.png Delete: tools/sv/images/small-unpause.png Delete: tools/sv/images/small-pause.png Delete: tools/sv/images/small-destroy.png Delete: tools/sv/images/shutdown.png Delete: tools/sv/images/seperator.jpg Delete: tools/sv/images/right-end-highlight.jpg Delete: tools/sv/images/reboot.png Delete: tools/sv/images/previous.png Delete: tools/sv/images/pause.png Delete: tools/sv/images/orb_02.jpg Delete: tools/sv/images/next.png Delete: tools/sv/images/middle-no-highlight.jpg Delete: tools/sv/images/middle-highlight.jpg Delete: tools/sv/images/left-end-no-highlight.jpg Delete: tools/sv/images/left-end-highlight.jpg Delete: tools/sv/images/finish.png Delete: tools/sv/images/destroy.png Delete: tools/sv/inc/style.css Delete: tools/sv/images/seperator-right-highlight.jpg Delete: tools/sv/images/seperator-left-highlight.jpg Delete: tools/sv/inc/script.js Delete: tools/sv/images/right-end-no-highlight.jpg Delete: tools/sv/images/orb_01.jpg Delete: tools/sv/Makefile Delete: tools/sv/Main.rpy Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* bitkeeper revision 1.1534.1.1 (429399e0oJudIjoFsgWFxNKnCM7qTg)cl349@firebug.cl.cam.ac.uk2005-05-241-3/+1
| | | | | | | | | | | Nothing but vnet uses libxutil -- move it there. Makefile, xc.c, setup.py, configure, configure.in, Makefile.in: This doesn't use libxutil. Makefile, Makefile.vnet, Rules.mk: Move libxutil into vnet since it's only used there. Many files: mvdir
* bitkeeper revision 1.1327.2.2 (4267a9b3MhPpljnjQ5IbfLdzcW2K3w)mjw@wray-m-3.hpl.hp.com2005-04-211-0/+1
| | | | | | | | | | Remove twisted from the HTTP server and replace with a threaded server. Add classes to provide tcp and unix servers using threads instead of twisted. Remove use of twisted from the consoles, event server and HTTP resources Signed-off-by: Mike Wray <mike.wray@hp.com>
* bitkeeper revision 1.1159.1.525 (41d58ba8VgPwkfEiKrUXF8b7LLwQ5Q)kaf24@scramble.cl.cam.ac.uk2004-12-311-0/+1
| | | | | Andy's control-interface message switch -- first cut.
* bitkeeper revision 1.1159.1.332 (41874e954CLIDA2J3phVFD2RnzVTpA)kaf24@freefall.cl.cam.ac.uk2004-11-021-2/+1
| | | | | | | Clean up public XenLinux header files. Now accessible from userspace as #include <xen/linux...> Got rid of the linux-xen-sparse symlink as it's no longer needed.
* bitkeeper revision 1.1159.142.4 (4184b6d4rc3Jd2irJimPyupm4TO06A)kaf24@freefall.cl.cam.ac.uk2004-10-311-2/+1
| | | | | | | | | | Rename Xen public interfaces. 1. hypervisor-if.h is now xen.h 2. hypervisor-ifs/ directory is now: <include/public/...> in Xen <asm/xen-public/...> in Linux <xen/...> in user space
* bitkeeper revision 1.1108.12.1 (4100e788EN1VntqfvMe4jTLeq56uIQ)xenbk@gandalf.hpl.hp.com2004-07-231-1/+1
|\ | | | | | | | | Merge
| * bitkeeper revision 1.1108.2.16 (40ffbcb9BiiQEdm3tM2wR3kHhi0avQ)tw275@labyrinth.cl.cam.ac.uk2004-07-221-1/+1
| | | | | | | | | | | | Changed location of sv - http share sits at /var/xen/sv while python files have been move out of xend
* | bitkeeper revision 1.1108.1.8 (40ffc44fV2fs0W-8bRw5B0XcBdmAsw)mjw@wray-m-3.hpl.hp.com2004-07-221-0/+4
|/ | | | | | Add python 2.3 logging to the tree. Only install if not present. Convert xend to use logging.
* bitkeeper revision 1.1108.5.2 (40fcfc3d1HOefeaUA-YZdx66NSVvqA)tw275@labyrinth.cl.cam.ac.uk2004-07-201-0/+1
| | | | | Trying to get my new web interfae to install correctly
* bitkeeper revision 1.1034 (40e28d7bx0XoTn2USwCDCvPvUTLZjQ)mjw@wray-m-3.hpl.hp.com2004-06-301-7/+7
| | | | | Rename ext to lowlevel.
* bitkeeper revision 1.1031 (40e1d02b7TWzZP0WaSOhCDygYQPX4w)kaf24@scramble.cl.cam.ac.uk2004-06-291-1/+1
| | | | | Tool cleanups.
* bitkeeper revision 1.1026.1.8 (40e1b09foCFBM0EuIgrSA1uLJrWuzA)mjw@wray-m-3.hpl.hp.com2004-06-291-0/+48
Restructuring the python code and libs - first stage.