ia64/xen-unstable

changeset 12164:caf35cfcdda0

Implement new VMX feature flag.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author Ewan Mellor <ewan@xensource.com>
date Thu Oct 26 15:53:31 2006 +0100 (2006-10-26)
parents eeb7d71c0281
children 4b0326c75c5b
files tools/libxen/include/xen_cpu_feature.h tools/libxen/src/xen_cpu_feature.c
line diff
     1.1 --- a/tools/libxen/include/xen_cpu_feature.h	Thu Oct 26 15:49:57 2006 +0100
     1.2 +++ b/tools/libxen/include/xen_cpu_feature.h	Thu Oct 26 15:53:31 2006 +0100
     1.3 @@ -338,7 +338,12 @@ enum xen_cpu_feature
     1.4      /**
     1.5       *  If yes HyperThreading not valid
     1.6       */
     1.7 -    XEN_CPU_FEATURE_CMP_LEGACY
     1.8 +    XEN_CPU_FEATURE_CMP_LEGACY,
     1.9 +
    1.10 +    /**
    1.11 +     *  VMX instruction set
    1.12 +     */
    1.13 +    XEN_CPU_FEATURE_VMX
    1.14  };
    1.15  
    1.16  
     2.1 --- a/tools/libxen/src/xen_cpu_feature.c	Thu Oct 26 15:49:57 2006 +0100
     2.2 +++ b/tools/libxen/src/xen_cpu_feature.c	Thu Oct 26 15:53:31 2006 +0100
     2.3 @@ -90,7 +90,8 @@ static const char *lookup_table[] =
     2.4      "XCRYPT",
     2.5      "XCRYPT_EN",
     2.6      "LAHF_LM",
     2.7 -    "CMP_LEGACY"
     2.8 +    "CMP_LEGACY",
     2.9 +    "VMX"
    2.10  };
    2.11  
    2.12