diff options
author | Yang, Wei <wei.y.yang@intel.com> | 2011-06-14 12:44:48 +0100 |
---|---|---|
committer | Yang, Wei <wei.y.yang@intel.com> | 2011-06-14 12:44:48 +0100 |
commit | 30090ad8567c97578099fb2aaec29a6a7c9f90a6 (patch) | |
tree | 560b46395c1991719674d77519df7141bc7ef3cb /tools/libxc/xc_cpufeature.h | |
parent | 70c3da08fb4a7d158ebed65fb57ed741668b6a20 (diff) | |
download | xen-30090ad8567c97578099fb2aaec29a6a7c9f90a6.tar.gz xen-30090ad8567c97578099fb2aaec29a6a7c9f90a6.tar.bz2 xen-30090ad8567c97578099fb2aaec29a6a7c9f90a6.zip |
x86/hvm: Make DRNG feature visible in CPUID
This patch exposes DRNG feature to HVM guests.
The RDRAND instruction can provide software with sequences of
random numbers generated from white noise.
Signed-off-by: Yang, Wei <wei.y.yang@intel.com>
Diffstat (limited to 'tools/libxc/xc_cpufeature.h')
-rw-r--r-- | tools/libxc/xc_cpufeature.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/libxc/xc_cpufeature.h b/tools/libxc/xc_cpufeature.h index a110e6ef01..b1941f9956 100644 --- a/tools/libxc/xc_cpufeature.h +++ b/tools/libxc/xc_cpufeature.h @@ -87,6 +87,7 @@ #define X86_FEATURE_XSAVE 26 /* XSAVE/XRSTOR/XSETBV/XGETBV */ #define X86_FEATURE_AVX 28 /* Advanced Vector Extensions */ #define X86_FEATURE_F16C 29 /* Half-precision convert instruction */ +#define X86_FEATURE_RDRAND 30 /* Digital Random Number Generator */ #define X86_FEATURE_HYPERVISOR 31 /* Running under some hypervisor */ /* VIA/Cyrix/Centaur-defined CPU features, CPUID level 0xC0000001 */ |