commit | 16b854c889673d988285719bc020543a730f9ac6 | [log] [tgz] |
---|---|---|
author | Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com> | Fri Aug 03 15:36:52 2012 +0800 |
committer | Avi Kivity <avi@redhat.com> | Mon Aug 06 16:04:46 2012 +0300 |
tree | 03b85cb0aada8a8fa4fd538d9b0fddc5460df495 | |
parent | d89cc617b954aff4030fce178f7d86f59aaf713d [diff] |
KVM: iommu: fix releasing unmapped page There are two bugs: - the 'error page' is forgot to be released [ it is unneeded after commit a2766325cf9f9, for backport, we still do kvm_release_pfn_clean for the error pfn ] - guest pages are always released regardless of the unmapped page (e,g, caused by hwpoison) Signed-off-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com> Signed-off-by: Avi Kivity <avi@redhat.com>