Skip to content
Commit a6e3407b authored by Avi Kivity's avatar Avi Kivity
Browse files

KVM: Fix SS default ESP/EBP based addressing



We correctly default to SS when BP is used as a base in 16-bit address mode,
but we don't do that for 32-bit mode.

Fix by adjusting the default to SS when either ESP or EBP is used as the base
register.

Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent cbd27ee7
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