summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/mmu.h
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2009-06-10 12:56:54 +0300
committerAvi Kivity <avi@redhat.com>2009-09-10 08:32:50 +0300
commit439e218a6f4716da484314fc5a1f0a59b0212c01 (patch)
treeb582edacc647f74f514417525f28e5f4c7f218f0 /arch/x86/kvm/mmu.h
parent7ffd92c53c5ebd0ad5a68ac3ca033c3a06374d19 (diff)
downloadlinux-439e218a6f4716da484314fc5a1f0a59b0212c01.tar.gz
linux-439e218a6f4716da484314fc5a1f0a59b0212c01.tar.bz2
linux-439e218a6f4716da484314fc5a1f0a59b0212c01.zip
KVM: MMU: Fix is_dirty_pte()
is_dirty_pte() is used on guest ptes, not shadow ptes, so it needs to avoid shadow_dirty_mask and use PT_DIRTY_MASK instead. Misdetecting dirty pages could lead to unnecessarily setting the dirty bit under EPT. Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/kvm/mmu.h')
0 files changed, 0 insertions, 0 deletions