forked from luck/tmp_suning_uos_patched
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>
This commit is contained in:
parent
e97e883f8b
commit
b16b2b7bb5
@ -169,7 +169,7 @@ static u32 opcode_table[256] = {
|
||||
/* 0x88 - 0x8F */
|
||||
ByteOp | DstMem | SrcReg | ModRM | Mov, DstMem | SrcReg | ModRM | Mov,
|
||||
ByteOp | DstReg | SrcMem | ModRM | Mov, DstReg | SrcMem | ModRM | Mov,
|
||||
DstMem | SrcReg | ModRM | Mov, ModRM | DstReg,
|
||||
DstMem | SrcNone | ModRM | Mov, ModRM | DstReg,
|
||||
ImplicitOps | SrcMem16 | ModRM, Group | Group1A,
|
||||
/* 0x90 - 0x97 */
|
||||
DstReg, DstReg, DstReg, DstReg, DstReg, DstReg, DstReg, DstReg,
|
||||
|
Loading…
Reference in New Issue
Block a user