KVM: MMU: fix sync of ptes addressed at owner pagetable
authorMarcelo Tosatti <mtosatti@redhat.com>
Fri, 21 Nov 2008 18:13:58 +0000 (19:13 +0100)
committerAvi Kivity <avi@redhat.com>
Sun, 23 Nov 2008 13:24:19 +0000 (15:24 +0200)
During page sync, if a pagetable contains a self referencing pte (that
points to the pagetable), the corresponding spte may be marked as
writable even though all mappings are supposed to be write protected.

Fix by clearing page unsync before syncing individual sptes.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>

No differences found