commit | e49146dce8c3dc6f4485c1904b6587855f393e71 | [log] [tgz] |
---|---|---|
author | Marcelo Tosatti <mtosatti@redhat.com> | Wed Dec 22 09:01:57 2010 -0200 |
committer | Avi Kivity <avi@redhat.com> | Wed Jan 12 11:31:13 2011 +0200 |
tree | 1a7db0516cee7ff2810445e16d21dadd960237af | |
parent | 16d8f72f70a85ce333788204a69318827130ca75 [diff] |
KVM: MMU: only write protect mappings at pagetable level If a pagetable contains a writeable large spte, all of its sptes will be write protected, including non-leaf ones, leading to endless pagefaults. Do not write protect pages above PT_PAGE_TABLE_LEVEL, as the spte fault paths assume non-leaf sptes are writable. Tested-by: Alex Williamson <alex.williamson@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>