commit | 9647c14c98687d0abf5197e74b9d1448ab6ebb95 | [log] [tgz] |
---|---|---|
author | Izik Eidus <izike@qumranet.com> | Tue Oct 16 14:43:46 2007 +0200 |
committer | Avi Kivity <avi@qumranet.com> | Wed Jan 30 17:52:54 2008 +0200 |
tree | 6bd61ace880d9428c38ebe45858793d689ca4f4b | |
parent | 98348e9507ace5fda95432ff8ca23f13e7f66176 [diff] |
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 <izike@qumranet.com> Signed-off-by: Avi Kivity <avi@qumranet.com>