From: Nadav Amit Date: Wed, 18 Jun 2014 14:19:25 +0000 (+0300) Subject: KVM: vmx: handle_cr ignores 32/64-bit mode X-Git-Tag: omap-for-v3.17/fixes-against-rc2~184^2~66 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e32c07955b43e7f827174bf320ed35971117275;p=pandora-kernel.git KVM: vmx: handle_cr ignores 32/64-bit mode On 32-bit mode only bits [31:0] of the CR should be used for setting the CR value. Otherwise, the host may incorrectly assume the value is invalid if bits [63:32] are not zero. Moreover, the CR is currently being read twice when CR8 is used. Last, nested mov-cr exiting is modified to handle the CR value correctly as well. Signed-off-by: Nadav Amit Signed-off-by: Paolo Bonzini --- Reading git-diff-tree failed