Marcelo Tosatti e49146dce8 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>
2011-01-12 11:31:13 +02:00
..
2010-10-24 10:53:14 +02:00
2011-01-02 11:52:48 +02:00
2010-10-24 10:53:14 +02:00
2010-03-01 12:36:00 -03:00
2011-01-12 11:29:08 +02:00
2010-10-24 10:53:14 +02:00
2010-10-24 10:53:14 +02:00