diff options
-rw-r--r-- | arch/x86/kvm/x86_emulate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/x86_emulate.c b/arch/x86/kvm/x86_emulate.c index 20b604489c3c..38926b7da64a 100644 --- a/arch/x86/kvm/x86_emulate.c +++ b/arch/x86/kvm/x86_emulate.c | |||
@@ -940,7 +940,7 @@ done_prefixes: | |||
940 | c->override_base != &ctxt->gs_base) | 940 | c->override_base != &ctxt->gs_base) |
941 | c->override_base = NULL; | 941 | c->override_base = NULL; |
942 | 942 | ||
943 | if (c->override_base) | 943 | if (c->override_base && !(!c->twobyte && c->b == 0x8d)) |
944 | c->modrm_ea += *c->override_base; | 944 | c->modrm_ea += *c->override_base; |
945 | 945 | ||
946 | if (c->ad_bytes != 8) | 946 | if (c->ad_bytes != 8) |