]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaf5c96f6be9ab15c25e50bf3af29808b6ae935c4
tree376a0701d4e8b4d148d87a5a5e8bcb7668fc360f
parent081a3d6e0ce73600524da015e6fc07f5c3d83e76
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