KVM: MMU: Fix is_dirty_pte()
authorAvi Kivity <avi@redhat.com>
Wed, 10 Jun 2009 09:56:54 +0000 (12:56 +0300)
committerAvi Kivity <avi@redhat.com>
Thu, 10 Sep 2009 05:32:50 +0000 (08:32 +0300)
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>

No differences found