From: Nadav Amit Date: Sun, 25 May 2014 20:05:21 +0000 (+0300) Subject: KVM: x86: MOV CR/DR emulation should ignore mod X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~8^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b88ae99d2fe11e359b3b3992aff953e28b0b43a;p=pandora-kernel.git KVM: x86: MOV CR/DR emulation should ignore mod MOV CR/DR instructions ignore the mod field (in the ModR/M byte). As the SDM states: "The 2 bits in the mod field are ignored". Accordingly, the second operand of these instructions is always a general purpose register. The current emulator implementation does not do so. If the mod bits do not equal 3, it expects the second operand to be in memory. Signed-off-by: Nadav Amit Signed-off-by: Paolo Bonzini --- Reading git-diff-tree failed