]> www.infradead.org Git - users/dwmw2/linux.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, 10 Dec 2008 09:06:45 +0000 (11:06 +0200)
commit2f1be8b8b60d24e7f12002650544d0d95550f7cd
tree7ec6cf386a7a6239a439916dedbfee75442d1d3e
parentf22bc9c40488ba7d68b744b3dfb388b0fdaaa079
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