KVM: x86 emulator: fix 'mov sreg,rm16' instruction decoding
authorWei Yongjun <yjwei@cn.fujitsu.com>
Tue, 6 Jul 2010 08:49:05 +0000 (16:49 +0800)
committerAvi Kivity <avi@redhat.com>
Mon, 2 Aug 2010 03:40:22 +0000 (06:40 +0300)
commita5046e6c7d97d6574ffe6367311ea0b0de56aa58
tree8895223602eb3fcf0ee9d692142f68a0a515d012
parentb79b93f92cb3b66b89d75525fdfd2454b1e1f446
KVM: x86 emulator: fix 'mov sreg,rm16' instruction decoding

Memory reads for 'mov sreg,rm16' should be 16 bits only.

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