x86: extended "flags" to show virtualization HW feature in /proc/cpuinfo
commite38e05a85828dac23540cd007df5f20985388afc
authorSheng Yang <sheng.yang@intel.com>
Wed, 10 Sep 2008 10:53:34 +0000 (10 18:53 +0800)
committerIngo Molnar <mingo@elte.hu>
Wed, 10 Sep 2008 12:00:56 +0000 (10 14:00 +0200)
tree63bd7a87dc991772af73cf3e406166e79e8fcb63
parent315a6558f30a264c88274fa70626615d1c7851c7
x86: extended "flags" to show virtualization HW feature in /proc/cpuinfo

The hardware virtualization technology evolves very fast. But currently
it's hard to tell if your CPU support a certain kind of HW technology
without digging into the source code.

The patch add a new catagory in "flags" under /proc/cpuinfo. Now "flags"
can indicate the (important) HW virtulization features the CPU supported
as well.

Current implementation just cover Intel VMX side.

Signed-off-by: Sheng Yang <sheng.yang@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/intel.c
include/asm-x86/cpufeature.h