]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
KVM: MMU: check for present pdptr shadow page in walk_shadow
authorMarcelo Tosatti <mtosatti@redhat.com>
Mon, 23 Mar 2009 20:51:32 +0000 (17:51 -0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 2 May 2009 17:57:10 +0000 (10:57 -0700)
commit3899af53551a9d5f0b316b9b5d1afba2ac47d0a9
treecb9d57b4356234a32734ebed0101df0a47a80cf6
parent14e360ee2c711a4ce10d90389773cadea30c54f6
KVM: MMU: check for present pdptr shadow page in walk_shadow

(cherry picked from eb64f1e8cd5c3cae912db30a77d062367f7a11a6)

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/kvm/mmu.c