commit | a6e3407bb1570ac5d8d7fc471bca07d531d1dde7 | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Sun Jun 10 17:15:39 2012 +0300 |
committer | Avi Kivity <avi@redhat.com> | Mon Jul 09 14:19:02 2012 +0300 |
tree | c0bb9742c418f8633256b90f4eac43387638d838 | |
parent | cbd27ee783f1e56d56415e8c5f2492ccedd565c4 [diff] |
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: Avi Kivity <avi@redhat.com>