summaryrefslogtreecommitdiff
path: root/arch/x86/kvm/vmx.c
diff options
context:
space:
mode:
authorMarcelo Tosatti <mtosatti@redhat.com>2008-07-16 22:07:11 (GMT)
committerAvi Kivity <avi@qumranet.com>2008-07-27 08:34:09 (GMT)
commit34198bf8426276a2ce1e97056a0f02d43637e5ae (patch)
tree2f116fe9d97f602359f45a55832cb6621d451b76 /arch/x86/kvm/vmx.c
parent98899aa0e0bf5de05850082be0eb837058c09ea5 (diff)
downloadlinux-fsl-qoriq-34198bf8426276a2ce1e97056a0f02d43637e5ae.tar.xz
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>
Diffstat (limited to 'arch/x86/kvm/vmx.c')
0 files changed, 0 insertions, 0 deletions