]> rtime.felk.cvut.cz Git - lisovros/linux_canprio.git/commit
KVM: MMU: Add link_shadow_page() helper
authorAvi Kivity <avi@redhat.com>
Tue, 13 Jul 2010 11:27:04 +0000 (14:27 +0300)
committerAvi Kivity <avi@redhat.com>
Mon, 2 Aug 2010 03:40:40 +0000 (06:40 +0300)
commit32ef26a3598636be520abed90ed0c2f439d36bbe
treebf6cff9c68d5ed9116656dfb1f40d9bc8bae7ace
parent4a994358b919c3b14de61be5e30d9edc9089ba3f
KVM: MMU: Add link_shadow_page() helper

To simplify the process of fetching an spte, add a helper that links
a shadow page to an spte.

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