]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86 emulator: do not perform address calculations on linear addresses
authorAvi Kivity <avi@redhat.com>
Wed, 17 Nov 2010 13:28:22 +0000 (15:28 +0200)
committerAvi Kivity <avi@redhat.com>
Wed, 12 Jan 2011 09:29:36 +0000 (11:29 +0200)
commit56ccf117a156205634927245d7487b5f605abb06
tree8385e5888f956d2df04b1dcc91fbe14458082ae7
parentb159e9a3b22e7ce200ed05f73c0c9a6aaf877446
KVM: x86 emulator: do not perform address calculations on linear addresses

Linear addresses are supposed to already have segment checks performed on them;
if we play with these addresses the checks become invalid.

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/emulate.c