commit | 03ebebeb1ff5d1d6209fd8df4ffc9204df82bd55 | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Tue Aug 21 17:07:04 2012 +0300 |
committer | Marcelo Tosatti <mtosatti@redhat.com> | Mon Aug 27 20:02:20 2012 -0300 |
tree | 47af40344c5f609e34acbc9136fe5c04b2893282 | |
parent | e2a610d7fc3e285af8061ff071761752255d95f6 [diff] |
KVM: x86 emulator: Leave segment limit and attributs alone in real mode When loading a segment in real mode, only the base and selector must be modified. The limit needs to be left alone, otherwise big real mode users will hit a #GP due to limit checking (currently this is suppressed because we don't check limits in real mode). Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>