ia64/xen-unstable

view tools/check/check_udev @ 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 bcae9d2cc2f8
children edfdeb150f27
line source
1 #!/bin/sh
2 # CHECK-INSTALL
4 . ./funcs.sh
6 case $OS in
7 OpenBSD|NetBSD|FreeBSD)
8 has_or_fail vnconfig
9 ;;
10 Linux)
11 has_or_fail udevinfo
12 [ "`udevinfo -V | awk '{print $NF}'`" -ge 59 ] 2>/dev/null || \
13 has hotplug || \
14 fail "udev is too old, upgrade to version 59 or later"
15 ;;
16 *)
17 fail "unknown OS"
18 ;;
19 esac