Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
KVM: MMU: Fix memory leak on guest demand faults
While backporting 72dc67a, a gfn_to_page() call was duplicated instead of moved (due to an unrelated patch not being present in mainline). This caused a page reference leak, resulting in a fairly massive memory leak. Fix by removing the extraneous gfn_to_page() call. Signed-off-by: Avi Kivity <avi@qumranet.com>
- Loading branch information