KVM: MMU: fix release noslot pfn
authorXiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Tue, 16 Oct 2012 12:07:03 +0000 (20:07 +0800)
committerAvi Kivity <avi@redhat.com>
Mon, 22 Oct 2012 16:03:25 +0000 (18:03 +0200)
commitf3ac1a4b667eeffcedf779f45529c95d66ddc71a
tree9e4a688d44ccaa783865adfc88ac1ea6cf03e190
parentecefbd94b834fa32559d854646d777c56749ef1c
KVM: MMU: fix release noslot pfn

We can not directly call kvm_release_pfn_clean to release the pfn
since we can meet noslot pfn which is used to cache mmio info into
spte

Signed-off-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Cc: stable@vger.kernel.org
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/mmu.c
virt/kvm/kvm_main.c