qemu/target-i386
Yang, Wei Y f79116867e kvm: Enable CPU SMEP feature
This patchset enables a new CPU feature SMEP (Supervisor Mode Execution
Protection) in QEMU-KVM. SMEP prevents kernel from executing code in application.
Updated Intel SDM describes this CPU feature. The document will be published soon.

SMEP is identified by CPUID leaf 7 EBX[7], which is 0 before. Get the right value by query KVM kernel module, so that guest can get SMEP through CPUID.

 Signed-off-by: Yang, Wei <wei.y.yang@intel.com>
 Singed-off-by: Shan, Haitao <haitao.shan@intel.com>
 Singed-off-by: Li, Xin <xin.li@intel.com>

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
2011-06-14 09:34:35 -05:00
..
cpu.h kvm: Add CPUID support for VIA CPU 2011-06-14 09:34:35 -05:00
cpuid.c kvm: Enable CPU SMEP feature 2011-06-14 09:34:35 -05:00
exec.h target-i386: remove old code handling float64 2011-06-03 16:07:50 +02:00
helper_template.h Update to a hopefully more future proof FSF address 2009-07-16 20:47:01 +00:00
helper.c Fix compilation warning due to missing header for sigaction (followup) 2011-06-08 09:04:29 +01:00
helper.h target-i386: implement lzcnt emulation 2009-10-23 17:10:36 +02:00
kvm.c kvm: Add CPUID support for VIA CPU 2011-06-14 09:34:35 -05:00
machine.c target-i386: remove old code handling float64 2011-06-03 16:07:50 +02:00
op_helper.c target-i386: use floatx80 constants in helper_fld*_ST0() 2011-06-03 16:07:52 +02:00
ops_sse_header.h tcg: Optionally sign-extend 32-bit arguments for 64-bit hosts. 2010-06-16 11:29:11 +02:00
ops_sse.h target-i386: replace approx_rsqrt and approx_rcp by softfloat ops 2011-04-25 11:18:33 +02:00
svm.h reworked SVM interrupt handling logic - fixed vmrun EIP saved value - reworked cr8 handling - added CPUState.hflags2 2008-06-04 17:02:19 +00:00
TODO Unbreak large mem support by removing kqemu 2009-08-24 08:02:55 -05:00
translate.c target-i386: Make x86 mfence and lfence illegal without SSE2 2011-06-08 09:04:29 +01:00