]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: MMU: set spte accessed bit properly
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Fri, 4 Mar 2011 10:58:02 +0000 (18:58 +0800)
committerMarcelo Tosatti <mtosatti@redhat.com>
Thu, 17 Mar 2011 16:08:32 +0000 (13:08 -0300)
commitd68accecf977a7080537e81737c763bca2830023
tree73b4b7a80ff48f47afdd2d08794bf14d13335131
parent2b905cfd856c6ce402bdb7e81fbe6cfea8fb115e
KVM: MMU: set spte accessed bit properly

Set spte accessed bit only if guest_initiated == 1 that means the really
accessed

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