KVM: MMU: skip invalid sp when unprotect page
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Fri, 4 Jun 2010 13:52:17 +0000 (21:52 +0800)
committerAvi Kivity <avi@redhat.com>
Sun, 1 Aug 2010 07:39:26 +0000 (10:39 +0300)
commit03116aa57e75b1bbe8b5e04f3cd21cdb6588c4ba
tree9b373610d23da5ff66d8cb7212213770e493bf73
parent518c8aee5ca74fc03273fc6b4893cf456d65d545
KVM: MMU: skip invalid sp when unprotect page

In kvm_mmu_unprotect_page(), the invalid sp can be skipped

Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/mmu.c