diff options
author | Avi Kivity <avi@redhat.com> | 2010-06-06 15:46:44 +0300 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-08-02 06:40:21 +0300 |
commit | b79b93f92cb3b66b89d75525fdfd2454b1e1f446 (patch) | |
tree | 0ca735431e67c58ff4b69578dc56bdd6e875eebb /arch/x86/include/asm/reboot_fixups.h | |
parent | a9221dd5ec125fbec1702fae016c6d2ea1a9a3da (diff) |
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: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/include/asm/reboot_fixups.h')
0 files changed, 0 insertions, 0 deletions