ia64/xen-unstable

view tools/libfsimage/check-libext2fs @ 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 a819cf758b8c
children
line source
1 #!/bin/sh
3 cat >ext2-test.c <<EOF
4 #include <ext2fs/ext2fs.h>
6 int main()
7 {
8 ext2fs_open2;
9 }
10 EOF
12 ${CC-gcc} -o ext2-test ext2-test.c -lext2fs >/dev/null 2>&1
13 if [ $? = 0 ]; then
14 echo ext2fs-lib
15 else
16 echo ext2fs
17 fi
19 rm -f ext2-test ext2-test.c
21 exit 0