commit | b98dbc90950cd4e43ab9b4f8300dbeae6cf8c8cb | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Thu May 15 16:07:04 2014 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Wed May 21 18:02:08 2014 +0200 |
tree | 5ccd530f79ccd636d971e6e0336e090ad0afdfa6 | |
parent | 87446327ccb2e944fe7abc848bab798a0864eb03 [diff] |
target-i386: fix segment flags for SMM and VM86 mode With the next patch, these need to be correct or VM86 tasks have the wrong CPL. The flags are basically what the Intel VMX documentation say is mandatory for entry into a VM86 guest. For consistency, SMM ought to have the same flags except with CPL=0. Tested-by: Kevin O'Connor <kevin@koconnor.net> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>