KVM: PPC: fix leakage of error page in kvmppc_patch_dcbz()
authorWei Yongjun <yjwei@cn.fujitsu.com>
Tue, 17 Aug 2010 02:08:52 +0000 (10:08 +0800)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:51:05 +0000 (10:51 +0200)
commit646bab55a278ceb1cf43b1f80d3dd468be62a421
tree413dd34c7282f69d422250cd48503c4ccc8e4831
parent8ec4722dd2aab9b69befb919549ea0a5bfc9e670
KVM: PPC: fix leakage of error page in kvmppc_patch_dcbz()

Add kvm_release_page_clean() after is_error_page() to avoid
leakage of error page.

Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/kvm/book3s.c