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

KVM: Avoid corrupting tr in real mode



The real mode tr needs to be set to a specific tss so that I/O
instructions can function.  Divert the new tr values to the real
mode save area from where they will be restored on transition to
protected mode.

This fixes some crashes on reboot when the bios accesses an I/O
instruction.

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