From: Nadav Amit Date: Sun, 15 Jun 2014 13:13:00 +0000 (+0300) Subject: KVM: x86: emulation of dword cmov on long-mode should clear [63:32] X-Git-Tag: omap-for-v3.17/fixes-against-rc2~184^2~76 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=140bad89fd;p=pandora-kernel.git KVM: x86: emulation of dword cmov on long-mode should clear [63:32] Even if the condition of cmov is not satisfied, bits[63:32] should be cleared. This is clearly stated in Intel's CMOVcc documentation. The solution is to reassign the destination onto itself if the condition is unsatisfied. For that matter the original destination value needs to be read. Signed-off-by: Nadav Amit Signed-off-by: Paolo Bonzini --- Reading git-diff-tree failed