From: Feng Wu Date: Tue, 1 Apr 2014 09:46:34 +0000 (+0800) Subject: KVM: Add SMAP support when setting CR4 X-Git-Tag: omap-for-v3.16/pm-signed~107^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97ec8c067d322d32effdc1701760d3babbc5595f;p=pandora-kernel.git 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 Signed-off-by: Marcelo Tosatti --- Reading git-diff-tree failed