KVM: MMU: introduce FNAME(prefetch_gpte)
authorXiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Tue, 16 Oct 2012 12:10:12 +0000 (20:10 +0800)
committerAvi Kivity <avi@redhat.com>
Wed, 17 Oct 2012 14:39:19 +0000 (16:39 +0200)
commitbd6360cc0a545544b5e69ae4428ac031c4e43588
treee00565bf3ed3e59d5a0ceac48f675ca2d5dd9f37
parenta052b42b0e618f34ca891f00b4e8b8ac0e4b80c0
KVM: MMU: introduce FNAME(prefetch_gpte)

The only difference between FNAME(update_pte) and FNAME(pte_prefetch)
is that the former is allowed to prefetch gfn from dirty logged slot,
so introduce a common function to prefetch spte

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