]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: MMU: cleanup for FNAME(fetch)
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Mon, 11 Jul 2011 19:25:19 +0000 (03:25 +0800)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Jul 2011 08:50:29 +0000 (11:50 +0300)
commit48a7ff4d9753852a24bb747d80a4126891e5a866
tree114092c6dd8bd2e3db31dbd5fb322015683482b9
parentc334c90a6e19534606a1b3758e37ef8b77bae110
KVM: MMU: cleanup for FNAME(fetch)

gw->pte_access is the final access permission, since it is unified with
gw->pt_access when we walked guest page table:

FNAME(walk_addr_generic):
pte_access = pt_access & FNAME(gpte_access)(vcpu, pte, true);

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