From: Nadav Amit Date: Wed, 18 Jun 2014 14:19:26 +0000 (+0300) Subject: KVM: vmx: vmx instructions handling does not consider cs.l X-Git-Tag: omap-for-v3.17/fixes-against-rc2~184^2~65 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27e6fb5dae2819d17f38dc9224692b771e989981;p=pandora-kernel.git KVM: vmx: vmx instructions handling does not consider cs.l VMX instructions use 32-bit operands in 32-bit mode, and 64-bit operands in 64-bit mode. The current implementation is broken since it does not use the register operands correctly, and always uses 64-bit for reads and writes. Moreover, write to memory in vmwrite only considers long-mode, so it ignores cs.l. This patch fixes this behavior. Signed-off-by: Nadav Amit Signed-off-by: Paolo Bonzini --- Reading git-diff-tree failed