KVM: X86 emulator: fix source operand decoding for 8bit mov[zs]x instructions
authorGleb Natapov <gleb@redhat.com>
Wed, 24 Apr 2013 10:38:36 +0000 (13:38 +0300)
committerGleb Natapov <gleb@redhat.com>
Thu, 25 Apr 2013 07:03:50 +0000 (10:03 +0300)
commit660696d1d16a71e15549ce1bf74953be1592bcd3
tree376a0701d4e8b4d148d87a5a5e8bcb7668fc360f
parentd1fa0352a151a597e8749e7be84121a1ff0d3502
KVM: X86 emulator: fix source operand decoding for 8bit mov[zs]x instructions

Source operand for one byte mov[zs]x is decoded incorrectly if it is in
high byte register. Fix that.

Cc: stable@vger.kernel.org
Signed-off-by: Gleb Natapov <gleb@redhat.com>
arch/x86/kvm/emulate.c