ia64/xen-unstable

view tools/pygrub/setup.py @ 19648:f0e2df69a8eb

x86 hvm: Allow cross-vendor migration

Intercept #UD and emulate SYSCALL/SYSENTER/SYSEXIT as necessary.

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Tue May 26 15:01:36 2009 +0100 (2009-05-26)
parents 72579f0cdaf7
children
line source
1 from distutils.core import setup, Extension
2 from distutils.ccompiler import new_compiler
3 import os
4 import sys
6 extra_compile_args = [ "-fno-strict-aliasing", "-Werror" ]
8 XEN_ROOT = "../.."
10 fsimage = Extension("fsimage",
11 extra_compile_args = extra_compile_args,
12 include_dirs = [ XEN_ROOT + "/tools/libfsimage/common/" ],
13 library_dirs = [ XEN_ROOT + "/tools/libfsimage/common/" ],
14 libraries = ["fsimage"],
15 sources = ["src/fsimage/fsimage.c"])
17 pkgs = [ 'grub' ]
19 setup(name='pygrub',
20 version='0.3',
21 description='Boot loader that looks a lot like grub for Xen',
22 author='Jeremy Katz',
23 author_email='katzj@redhat.com',
24 license='GPL',
25 package_dir={'grub': 'src', 'fsimage': 'src'},
26 scripts = ["src/pygrub"],
27 packages=pkgs,
28 ext_modules = [ fsimage ]
29 )