From: Izik Eidus Date: Tue, 16 Oct 2007 12:43:46 +0000 (+0200) Subject: KVM: MMU: Keep a reverse mapping of non-writable translations X-Git-Tag: v2.6.25-rc1~1138^2~203 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9647c14c98687d0abf5197e74b9d1448ab6ebb95;p=pandora-kernel.git KVM: MMU: Keep a reverse mapping of non-writable translations The current kvm mmu only reverse maps writable translation. This is used to write-protect a page in case it becomes a pagetable. But with swapping support, we need a reverse mapping of read-only pages as well: when we evict a page, we need to remove any mapping to it, whether writable or not. Signed-off-by: Izik Eidus Signed-off-by: Avi Kivity --- Reading git-diff-tree failed