summaryrefslogtreecommitdiff
path: root/arch/x86/kvm/paging_tmpl.h
diff options
context:
space:
mode:
authorMarcelo Tosatti <mtosatti@redhat.com>2008-11-21 21:13:58 +0300
committerAvi Kivity <avi@redhat.com>2008-11-23 16:24:19 +0300
commit0c0f40bdbe4ddb48ebecfb5c2b56eeb175a57c45 (patch)
tree5fc295c2999bcfe9d4860d1cac012188e46a82aa /arch/x86/kvm/paging_tmpl.h
parentce50b91d0f7b0b90e3960a6f306b4027378c7c27 (diff)
downloadlinux-0c0f40bdbe4ddb48ebecfb5c2b56eeb175a57c45.tar.xz
KVM: MMU: fix sync of ptes addressed at owner pagetable
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>
Diffstat (limited to 'arch/x86/kvm/paging_tmpl.h')
0 files changed, 0 insertions, 0 deletions