mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
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>
This commit is contained in:
1 parent
eb10d0f954
commit
43a12c170e
4 files changed
+205
No files matched your search
@@ -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',
|
||||
|
||||