kvm: mmu: set pte accessed less eagerly
commit6e22a8342f282ba9f04eb77f65afba0c4545e6ce
authorAvi Kivity <avi@qumranet.com>
Sun, 21 Jan 2007 14:09:57 +0000 (21 14:09 +0000)
committerAvi Kivity <avi@qumranet.com>
Sun, 21 Jan 2007 14:09:57 +0000 (21 14:09 +0000)
treeb18c9986af3a9b4fe84d0ce8bfb9fecee89b9465
parentdf946dbc3a8a0f61db7fdef5b73400ce26475b3a
kvm: mmu: set pte accessed less eagerly

the mmu page table walker sets the accessed bit as soon as it looks at the pte,
which is wrong.  we need to set the accessed bit only after the access checks
have passed.
kvm/kernel/paging_tmpl.h