]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86 emulator: fix 'mov rm,sreg' instruction decoding
authorWei Yongjun <yjwei@cn.fujitsu.com>
Tue, 6 Jul 2010 08:52:53 +0000 (16:52 +0800)
committerAvi Kivity <avi@redhat.com>
Mon, 2 Aug 2010 03:40:25 +0000 (06:40 +0300)
commit64fe4c414bcada921cc4debca0b72233586c9d00
tree1b5352e4c8fa6336128ee1e9b979dc4d1e239614
parent59040fd3d28ba315355432a0083877cf63fb01d4
KVM: x86 emulator: fix 'mov rm,sreg' instruction decoding

The source operand of 'mov rm,sreg' is segment register, not
general-purpose register, so remove SrcReg from decoding.

Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/emulate.c