KVM: Add SMEP support when setting CR4
authorYang, Wei Y <wei.y.yang@intel.com>
Fri, 3 Jun 2011 03:13:42 +0000 (11:13 +0800)
committerAvi Kivity <avi@redhat.com>
Tue, 12 Jul 2011 10:16:13 +0000 (13:16 +0300)
commitc68b734fba402b9bfdd49e23b776c42dbeaf1f5b
tree4d149de96cf2e4021e8f1b4c4e678bd0ffe21754
parent8d9c975fc5b825cb76953a1b45a84195ffc6f4ab
KVM: Add SMEP support when setting CR4

This patch adds SMEP handling when setting CR4.

Signed-off-by: Yang, Wei <wei.y.yang@intel.com>
Signed-off-by: Shan, Haitao <haitao.shan@intel.com>
Signed-off-by: Li, Xin <xin.li@intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/x86.c