]> 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)
commita6689685cf72fa55f9139ecc7a3e32d6ba284a29
tree114092c6dd8bd2e3db31dbd5fb322015683482b9
parent022d09a416dbd5941cd3cbe773f588a3d70ec71d
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