]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: get_tss_base_addr() should return a gpa_t
authorGleb Natapov <gleb@redhat.com>
Sun, 25 Oct 2009 15:42:02 +0000 (17:42 +0200)
committerMarcelo Tosatti <mtosatti@redhat.com>
Wed, 4 Nov 2009 14:42:36 +0000 (12:42 -0200)
commitb7b9af27b630664b6b23152b0dd28099e5ffe62b
tree0df1063b5300a0914d1cbe6f49af7c607945d9db
parent9c45dfc13e7b39b2574d57ceaca80355b5166a03
KVM: get_tss_base_addr() should return a gpa_t

If TSS we are switching to resides in high memory task switch will fail
since address will be truncated. Windows2k3 does this sometimes when
running with more then 4G

Cc: stable@kernel.org
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/x86.c