KVM: task switch: segment base is linear address
authorMarcelo Tosatti <mtosatti@redhat.com>
Wed, 16 Jul 2008 22:07:10 +0000 (19:07 -0300)
committerAvi Kivity <avi@qumranet.com>
Sun, 27 Jul 2008 08:34:09 +0000 (11:34 +0300)
commit98899aa0e0bf5de05850082be0eb837058c09ea5
tree9e38ae09572b56749c868746fd306dbe6778f3cc
parent5f4cb662a0a2533b45656607471571460310a5ca
KVM: task switch: segment base is linear address

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>
arch/x86/kvm/x86.c