Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit b79b93f9 authored by Avi Kivity's avatar Avi Kivity
Browse files

KVM: MMU: Don't drop accessed bit while updating an spte



__set_spte() will happily replace an spte with the accessed bit set with
one that has the accessed bit clear.  Add a helper update_spte() which checks
for this condition and updates the page flag if needed.

Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent a9221dd5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment