]> git.kernelconcepts.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 May 2013 02:51:57 +0000 (19:51 -0700)
commit5b5b30580218eae22609989546bac6e44d0eda6e
tree5763a61f5cbcacb3922eb1588d4458a8f7013b0e
parentbb878b3019cb0b1d574bd88e30ce00ea6d6814f9
KVM: X86 emulator: fix source operand decoding for 8bit mov[zs]x instructions

commit 660696d1d16a71e15549ce1bf74953be1592bcd3 upstream.

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

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/kvm/emulate.c