Skip to content
Commit d15a9a4d authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

x86: fix last commit



Keeping the selector that was loaded from the 32-bit GDT is okay, because
only code segment descriptors differ between 32- and 64-bit mode.  In
fact the same is true for %ss as well, so let's just remove the whole
segment loading from load_tss.

Thanks to Bandan Das for debugging.

Reported-by: Shih-Wei Li's avatarShih-Wei Li <shihwei@cs.columbia.edu>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 402d4596
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment