commit | 34198bf8426276a2ce1e97056a0f02d43637e5ae | [log] [tgz] |
---|---|---|
author | Marcelo Tosatti <mtosatti@redhat.com> | Wed Jul 16 19:07:11 2008 -0300 |
committer | Avi Kivity <avi@qumranet.com> | Sun Jul 27 11:34:09 2008 +0300 |
tree | 2f116fe9d97f602359f45a55832cb6621d451b76 | |
parent | 98899aa0e0bf5de05850082be0eb837058c09ea5 [diff] |
KVM: task switch: use seg regs provided by subarch instead of reading from GDT There is no guarantee that the old TSS descriptor in the GDT contains the proper base address. This is the case for Windows installation's reboot-via-triplefault. Use guest registers instead. Also translate the address properly. Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Avi Kivity <avi@qumranet.com>