KVM: MMU: set access bit for direct mapping
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Mon, 27 Sep 2010 10:05:00 +0000 (18:05 +0800)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:53:11 +0000 (10:53 +0200)
commit33f91edb9211f5c0392071f9eb01958ec69f2193
treec032c66208b1a889dbc13e6cdf2c39da23ad06ea
parent20bd40dc6492da293993559555df07d467fd202e
KVM: MMU: set access bit for direct mapping

Set access bit while setup up direct page table if it's nonpaing or npt enabled,
it's good for CPU's speculate access

Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/mmu.c