Commit 0adc8675 authored by Avi Kivity's avatar Avi Kivity

KVM: x86 emulator: avoid segment base adjust for lea

Signed-off-by: default avatarAvi Kivity <avi@qumranet.com>
parent f5b4edcd
......@@ -940,7 +940,7 @@ done_prefixes:
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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment