]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
KVM: task switch: segment base is linear address
authorMarcelo Tosatti <mtosatti@redhat.com>
Wed, 13 Aug 2008 15:00:26 +0000 (18:00 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 20 Aug 2008 18:05:06 +0000 (11:05 -0700)
commit2594ba0ab5aeb2222e5a6aa00b117b07adb9d89d
tree89a4e5299bdfd2f094ca86f0e527a86032aec122
parentf6c6fd9055f298c8ac33d16ba8403a2968ec1840
KVM: task switch: segment base is linear address

(cherry picked from commit 98899aa0e0bf5de05850082be0eb837058c09ea5)

The segment base is always a linear address, so translate before
accessing guest memory.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/kvm/x86.c