提交 0adc8675 编写于 作者: A Avi Kivity

KVM: x86 emulator: avoid segment base adjust for lea

Signed-off-by: NAvi Kivity <avi@qumranet.com>
上级 f5b4edcd
......@@ -940,7 +940,7 @@ x86_decode_insn(struct x86_emulate_ctxt *ctxt, struct x86_emulate_ops *ops)
c->override_base != &ctxt->gs_base)
c->override_base = NULL;
if (c->override_base)
if (c->override_base && !(!c->twobyte && c->b == 0x8d))
c->modrm_ea += *c->override_base;
if (c->ad_bytes != 8)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册