]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: MMU: check for present pdptr shadow page in walk_shadow
authorMarcelo Tosatti <mtosatti@redhat.com>
Tue, 9 Dec 2008 15:07:22 +0000 (16:07 +0100)
committerAvi Kivity <avi@redhat.com>
Wed, 31 Dec 2008 14:55:46 +0000 (16:55 +0200)
commit1234541467ed00ff5dcf14f9c4a99de5c54702e2
tree9a0f0f9774211b77cf6b5c2e6914e6e88c7b42f1
parentae16b7ae0f5807a87e246d66b7e2c8097817f918
KVM: MMU: check for present pdptr shadow page in walk_shadow

walk_shadow assumes the caller verified validity of the pdptr pointer in
question, which is not the case for the invlpg handler.

Fixes oops during Solaris 10 install.

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