commit | 653e3108b7d6097d25089d25ab4e99bc58b28962 | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@qumranet.com> | Mon May 07 10:55:37 2007 +0300 |
committer | Avi Kivity <avi@qumranet.com> | Mon Jul 16 12:05:41 2007 +0300 |
tree | ff92977a15ddf12807d3a9f32eb6f5446fb59a79 | |
parent | eff708bc2bacd4f22cf844871341bef341bd096a [diff] |
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: Avi Kivity <avi@qumranet.com>