mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-10 15:10:38 +00:00
KVM: x86 emulator: avoid segment base adjust for lea
Signed-off-by: Avi Kivity <avi@qumranet.com>
This commit is contained in:
parent
f5b4edcd52
commit
0adc8675d6
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user