commit | 75e68e607896c84310dee37c783c45220e56ce8c | [log] [tgz] |
---|---|---|
author | Izik Eidus <izike@qumranet.com> | Sat Jan 12 23:49:09 2008 +0200 |
committer | Avi Kivity <avi@qumranet.com> | Wed Jan 30 18:01:22 2008 +0200 |
tree | d211007d0d2923d5f831f0d9d90f48f3298e559d | |
parent | 6f723c7911e7827091586ae63f4040874eeb75e5 [diff] |
KVM: MMU: Fix dirty page setting for pages removed from rmap Right now rmap_remove won't set the page as dirty if the shadow pte pointed to this page had write access and then it became readonly. This patches fixes that, by setting the page as dirty for spte changes from write to readonly access. Signed-off-by: Izik Eidus <izike@qumranet.com> Signed-off-by: Avi Kivity <avi@qumranet.com>