aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxc/xc_cpufeature.h
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-11-19 16:10:39 +0000
committerKeir Fraser <keir.fraser@citrix.com>2008-11-19 16:10:39 +0000
commitceb1434f7d3ac4c2b541facc29bef8abf6ae0442 (patch)
tree80c6786796b45d7f0e44c6c3d3a7ff6066a7e952 /tools/libxc/xc_cpufeature.h
parente1054557f90f9ec1552fa5e75b302acbd5b069cb (diff)
downloadxen-ceb1434f7d3ac4c2b541facc29bef8abf6ae0442.tar.gz
xen-ceb1434f7d3ac4c2b541facc29bef8abf6ae0442.tar.bz2
xen-ceb1434f7d3ac4c2b541facc29bef8abf6ae0442.zip
x86: support CPUID hypervisor feature bit
Signed-off-by: Jan Beulich <jbeulich@novell.com> Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'tools/libxc/xc_cpufeature.h')
-rw-r--r--tools/libxc/xc_cpufeature.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/libxc/xc_cpufeature.h b/tools/libxc/xc_cpufeature.h
index 6cd442cfe6..047a6c9fc7 100644
--- a/tools/libxc/xc_cpufeature.h
+++ b/tools/libxc/xc_cpufeature.h
@@ -83,6 +83,7 @@
#define X86_FEATURE_SSE4_1 (4*32+19) /* Streaming SIMD Extensions 4.1 */
#define X86_FEATURE_SSE4_2 (4*32+20) /* Streaming SIMD Extensions 4.2 */
#define X86_FEATURE_POPCNT (4*32+23) /* POPCNT instruction */
+#define X86_FEATURE_HYPERVISOR (4*32+31) /* Running under some hypervisor */
/* VIA/Cyrix/Centaur-defined CPU features, CPUID level 0xC0000001, word 5 */
#define X86_FEATURE_XSTORE (5*32+ 2) /* on-CPU RNG present (xstore insn) */