]> err.no Git - linux-2.6/commit
KVM: MMU: Don't cache guest access bits in the shadow page table
authorAvi Kivity <avi@qumranet.com>
Thu, 31 May 2007 15:24:09 +0000 (18:24 +0300)
committerAvi Kivity <avi@qumranet.com>
Mon, 16 Jul 2007 09:05:44 +0000 (12:05 +0300)
commitb64b3763a5b3868e85330c891e1a30189dcde9b1
tree906df8e5b7b43b0b2ef19a4ab57eeaee40f9d21a
parentfd97dc516c372982f9c3637e20b131e1f55ac2f6
KVM: MMU: Don't cache guest access bits in the shadow page table

This was once used to avoid accessing the guest pte when upgrading
the shadow pte from read-only to read-write.  But usually we need
to set the guest pte dirty or accessed bits anyway, so this wasn't
really exploited.

Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/mmu.c
drivers/kvm/paging_tmpl.h