mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
tools: remove xend and associated python modules
I've retained xen.lowlevel.{xc,xs} since they seem more widely useful. I also
kept xen.lowlevel.xl even though it is disabled by default and IMHO useless in
its current form.
I've tried to clean up the various associated bits like example configs, init
scripts, udev rules etc but no doubt I have missed something, those can easily
be cleaned up later.
I've also removed xm-test since although it could in theory be reworked to
test xl it hasn't been touched for years. If someone wants to resurrect it
then they could do so via the git history.
This has been built but not runtime tested.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
---
v2: Clean out some .*ignore cruft
Remove some xm/xend docs.
This commit is contained in:
1 parent
e04254f7bc
commit
9e8672f1c3
503 files changed
+7
-83858
No files matched your search
+2
-93
@@ -27,58 +27,6 @@ xs = Extension("xs",
|
||||
depends = [ PATH_XENSTORE + "/libxenstore.so" ],
|
||||
sources = [ "xen/lowlevel/xs/xs.c" ])
|
||||
|
||||
scf = Extension("scf",
|
||||
extra_compile_args = extra_compile_args,
|
||||
include_dirs = [ "xen/lowlevel/scf" ],
|
||||
library_dirs = [ ],
|
||||
libraries = [ ],
|
||||
depends = [ ],
|
||||
sources = [ "xen/lowlevel/scf/scf.c" ])
|
||||
|
||||
process = Extension("process",
|
||||
extra_compile_args = extra_compile_args,
|
||||
include_dirs = [ "xen/lowlevel/process" ],
|
||||
library_dirs = [ ],
|
||||
libraries = [ "contract" ],
|
||||
depends = [ ],
|
||||
sources = [ "xen/lowlevel/process/process.c" ])
|
||||
|
||||
flask = Extension("flask",
|
||||
extra_compile_args = extra_compile_args,
|
||||
include_dirs = [ PATH_XEN, PATH_LIBXC, "xen/lowlevel/flask" ],
|
||||
library_dirs = [ PATH_LIBXC ],
|
||||
libraries = [ "xenctrl" ],
|
||||
depends = [ PATH_LIBXC + "/libxenctrl.so" ],
|
||||
sources = [ "xen/lowlevel/flask/flask.c" ])
|
||||
|
||||
ptsname = Extension("ptsname",
|
||||
extra_compile_args = extra_compile_args,
|
||||
include_dirs = [ "ptsname" ],
|
||||
library_dirs = [ ],
|
||||
libraries = [ ],
|
||||
depends = [ ],
|
||||
sources = [ "ptsname/ptsname.c" ])
|
||||
|
||||
checkpoint = Extension("checkpoint",
|
||||
extra_compile_args = extra_compile_args,
|
||||
include_dirs = [ PATH_XEN, PATH_LIBXC, PATH_XENSTORE ],
|
||||
library_dirs = [ PATH_LIBXC, PATH_XENSTORE ],
|
||||
libraries = [ "xenctrl", "xenguest", "xenstore", "rt" ],
|
||||
depends = [ PATH_LIBXC + "/libxenctrl.so",
|
||||
PATH_LIBXC + "/libxenguest.so",
|
||||
PATH_XENSTORE + "/libxenstore.so" ],
|
||||
sources = [ "xen/lowlevel/checkpoint/checkpoint.c",
|
||||
"xen/lowlevel/checkpoint/libcheckpoint.c"])
|
||||
|
||||
netlink = Extension("netlink",
|
||||
extra_compile_args = extra_compile_args,
|
||||
include_dirs = [ ],
|
||||
library_dirs = [ ],
|
||||
libraries = [ ],
|
||||
depends = [ ],
|
||||
sources = [ "xen/lowlevel/netlink/netlink.c",
|
||||
"xen/lowlevel/netlink/libnetlink.c"])
|
||||
|
||||
xl = Extension("xl",
|
||||
extra_compile_args = extra_compile_args,
|
||||
include_dirs = [ PATH_XEN, PATH_LIBXL, PATH_LIBXC, "xen/lowlevel/xl" ],
|
||||
@@ -88,54 +36,15 @@ xl = Extension("xl",
|
||||
sources = [ "xen/lowlevel/xl/xl.c", "xen/lowlevel/xl/_pyxl_types.c" ])
|
||||
|
||||
plat = os.uname()[0]
|
||||
modules = [ xc, xs, ptsname, flask ]
|
||||
modules = [ xc, xs ]
|
||||
#modules.extend([ xl ])
|
||||
if plat == 'SunOS':
|
||||
modules.extend([ scf, process ])
|
||||
if plat == 'Linux':
|
||||
modules.extend([ checkpoint, netlink ])
|
||||
|
||||
enable_xend = True
|
||||
new_argv = []
|
||||
for arg in sys.argv:
|
||||
if arg == "--xend=y":
|
||||
enable_xend = True
|
||||
elif arg == "--xend=n":
|
||||
enable_xend = False
|
||||
else:
|
||||
new_argv.append(arg)
|
||||
sys.argv = new_argv
|
||||
|
||||
if enable_xend:
|
||||
xend_packages = [
|
||||
'xen.util',
|
||||
'xen.util.xsm',
|
||||
'xen.util.xsm.dummy',
|
||||
'xen.util.xsm.flask',
|
||||
'xen.util.xsm.acm',
|
||||
'xen.xend',
|
||||
'xen.xend.server',
|
||||
'xen.xend.xenstore',
|
||||
'xen.xm',
|
||||
'xen.web',
|
||||
'xen.remus',
|
||||
'xen.xend.tests',
|
||||
'xen.xend.server.tests',
|
||||
'xen.xend.xenstore.tests',
|
||||
'xen.xm.tests'
|
||||
]
|
||||
else:
|
||||
xend_packages = []
|
||||
|
||||
setup(name = 'xen',
|
||||
version = '3.0',
|
||||
description = 'Xen',
|
||||
packages = ['xen',
|
||||
'xen.lowlevel',
|
||||
] + xend_packages,
|
||||
],
|
||||
ext_package = "xen.lowlevel",
|
||||
ext_modules = modules
|
||||
)
|
||||
|
||||
os.chdir('logging')
|
||||
execfile('setup.py')
|
||||