diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-03-12 11:07:00 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-03-12 11:07:00 +0000 |
commit | 43a12c170ead4efe89596290b58545dcdf8a5c64 (patch) | |
tree | 21b222f60f6b73bf22ab6b16293f12236babcd3b /tools/python/setup.py | |
parent | eb10d0f9543424e8a00335f0e46d05f8514dafe7 (diff) | |
download | xen-43a12c170ead4efe89596290b58545dcdf8a5c64.tar.gz xen-43a12c170ead4efe89596290b58545dcdf8a5c64.tar.bz2 xen-43a12c170ead4efe89596290b58545dcdf8a5c64.zip |
Fix qemu spawn for Solaris
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>
Diffstat (limited to 'tools/python/setup.py')
-rw-r--r-- | tools/python/setup.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/python/setup.py b/tools/python/setup.py index 0afc168b66..6edd054bb3 100644 --- a/tools/python/setup.py +++ b/tools/python/setup.py @@ -38,6 +38,13 @@ scf = Extension("scf", libraries = libraries, sources = [ "xen/lowlevel/scf/scf.c" ]) +process = Extension("process", + extra_compile_args = extra_compile_args, + include_dirs = include_dirs + [ "xen/lowlevel/process" ], + library_dirs = library_dirs, + libraries = libraries + [ "contract" ], + sources = [ "xen/lowlevel/process/process.c" ]) + acm = Extension("acm", extra_compile_args = extra_compile_args, include_dirs = include_dirs + [ "xen/lowlevel/acm" ], @@ -63,6 +70,7 @@ ptsname = Extension("ptsname", modules = [ xc, xs, ptsname, acm, flask ] if os.uname()[0] == 'SunOS': modules.append(scf) + modules.append(process) setup(name = 'xen', version = '3.0', |