]> git.baikalelectronics.ru Git - kernel.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)
commitfa309f7c84afea87aba54f825d1c77a10e6c8504
treebf6cff9c68d5ed9116656dfb1f40d9bc8bae7ace
parentcd38908ce3e065f49a0d99a0080758265a23d9db
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