Allow xend configuration via Solaris SMF as well as the config file
PATCH 1/1 Allow xend configuration via Solaris SMF as well as the config file
# HG changeset patch
# User [email protected]
# Date 1169005399 28800
# Node ID ce6684b05b953bf1ef88495883c30485b5407a5b
# Parent 3a35936342d6a1f8ebd24a54da2461b33d811496
Allow xend configuration via Solaris SMF as well as the config file.
Signed-off-by John Levon <[email protected]>
tools/python/setup.py +12 -1
@@ -30,12 +30,23 @@ xs = Extension("xs", libraries = libraries, sources = [ "xen/lowlevel/xs/xs.c" ]) +scf = Extension("scf", + extra_compile_args = extra_compile_args, + include_dirs = include_dirs + [ "xen/lowlevel/scf" ], + library_dirs = library_dirs, + libraries = libraries, + sources = [ "xen/lowlevel/scf/scf.c" ]) + acm = Extension("acm", extra_compile_args = extra_compile_args, include_dirs = include_dirs + [ "xen/lowlevel/acm" ], library_dirs = library_dirs, libraries = libraries, sources = [ "xen/lowlevel/acm/acm.c" ]) + +modules = [ xc, xs, acm ] +if os.uname()[0] == 'SunOS': + modules.append(scf) setup(name = 'xen', version = '3.0',
@@ -56,7 +67,7 @@ setup(name = 'xen', 'xen.xm.tests' ], ext_package = "xen.lowlevel", - ext_modules = [ xc, xs, acm ] + ext_modules = modules ) os.chdir('logging')
tools/python/xen/lowlevel/scf/scf.c new file +156 -0
156 lines not on this page · raw message
tools/python/xen/xend/XendOptions.py +185 -140
386 lines not on this page · raw message
Ewan Mellor
AppliedQuoted 8 lines · John Levon
# HG changeset patch
# User [email protected]
# Date 1169005399 28800
# Node IDce6684b05b953bf1ef88495883c30485b5407a5b
# Parent3a35936342d6a1f8ebd24a54da2461b33d811496
Allow xend configuration via Solaris SMF as well as the config file.Signed-off-by John Levon <[email protected]>
Applied.
Ewan.