commit | 97ec8c067d322d32effdc1701760d3babbc5595f | [log] [tgz] |
---|---|---|
author | Feng Wu <feng.wu@intel.com> | Tue Apr 01 17:46:34 2014 +0800 |
committer | Marcelo Tosatti <mtosatti@redhat.com> | Mon Apr 14 17:50:34 2014 -0300 |
tree | 16892fd16ce9e3d60c68b01f7bf11a8821eb3295 | |
parent | 56d6efc2de5fcf76d3c7b33a7671bc04c53cb0e5 [diff] |
KVM: Add SMAP support when setting CR4 This patch adds SMAP handling logic when setting CR4 for guests Thanks a lot to Paolo Bonzini for his suggestion to use the branchless way to detect SMAP violation. Signed-off-by: Feng Wu <feng.wu@intel.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>