hv: fix stos and stosq asm instruction emulation error

This patch is used to fix asm instruction error such as stos and stosq.

Tracked-On: #5165
Signed-off-by: Xiaoguang Wu <xiaoguang.wu@intel.com>
This commit is contained in:
Xiaoguang Wu 2020-07-12 22:42:03 +08:00 committed by wenlingz
parent b1cbe39164
commit 607a4221ac

View File

@ -162,11 +162,11 @@ static const struct instr_emul_vie_op one_byte_opcodes[256] = {
}, },
[0xAA] = { [0xAA] = {
.op_type = VIE_OP_TYPE_STOS, .op_type = VIE_OP_TYPE_STOS,
.op_flags = VIE_OP_F_NO_MODRM | VIE_OP_F_BYTE_OP, .op_flags = VIE_OP_F_NO_MODRM | VIE_OP_F_BYTE_OP | VIE_OP_F_CHECK_GVA_DI,
}, },
[0xAB] = { [0xAB] = {
.op_type = VIE_OP_TYPE_STOS, .op_type = VIE_OP_TYPE_STOS,
.op_flags = VIE_OP_F_NO_MODRM .op_flags = VIE_OP_F_NO_MODRM | VIE_OP_F_CHECK_GVA_DI,
}, },
[0xC6] = { [0xC6] = {
/* XXX Group 11 extended opcode - not just MOV */ /* XXX Group 11 extended opcode - not just MOV */