ia64/xen-unstable

view linux-2.6-xen-sparse/include/xen/features.h @ 13341:3040ba0f2d3d

When booting via xm, only run the bootloader if it's in non-interactive mode:
otherwise we lose the user's named kernel and try to bootload the temporary
file pygrub returned.

Signed-off-by: John Levon <john.levon@sun.com>
author Tim Deegan <Tim.Deegan@xensource.com>
date Tue Jan 09 13:24:45 2007 +0000 (2007-01-09)
parents 0e87a5bd6e8b
children
line source
1 /******************************************************************************
2 * features.h
3 *
4 * Query the features reported by Xen.
5 *
6 * Copyright (c) 2006, Ian Campbell
7 */
9 #ifndef __ASM_XEN_FEATURES_H__
10 #define __ASM_XEN_FEATURES_H__
12 #include <xen/interface/version.h>
14 extern void setup_xen_features(void);
16 extern u8 xen_features[XENFEAT_NR_SUBMAPS * 32];
18 #define xen_feature(flag) (xen_features[flag])
20 #endif /* __ASM_XEN_FEATURES_H__ */