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)
commitb36c7a7c10bf845b623ce187501b561d1d843a18
tree114092c6dd8bd2e3db31dbd5fb322015683482b9
parent640d9b0dbe9f744ac8fd517a8f6afe238f8f525b
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