]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 Nov 2009 00:22:43 +0000 (16:22 -0800)
commit15076d40b0ce2e04cf383425a5a26e01f53b2aee
tree19f7a50daf4e3725c0fb350c57aa8eae425a374f
parent42d7bdfc3320039bb9310703d6475a62f5c74772
KVM: get_tss_base_addr() should return a gpa_t

commit abb3911965c1bd8eea305f64d4840a314259d96d upstream.

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

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/kvm/x86.c