KVM: MMU: Simpify accessed/dirty/present/nx bit handling
authorAvi Kivity <avi@qumranet.com>
Thu, 31 May 2007 15:20:14 +0000 (18:20 +0300)
committerAvi Kivity <avi@qumranet.com>
Mon, 16 Jul 2007 09:05:44 +0000 (12:05 +0300)
commitfd97dc516c372982f9c3637e20b131e1f55ac2f6
tree40c86e7691de599286daeebaa942d0392e54e1dd
parent4436d466219a6a7874ebc19eb6523c3a9a280dcc
KVM: MMU: Simpify accessed/dirty/present/nx bit handling

Always set the accessed and dirty bit (since having them cleared causes
a read-modify-write cycle), always set the present bit, and copy the
nx bit from the guest.

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