]> bbs.cooldavid.org Git - net-next-2.6.git/commit
KVM: MMU: Introduce kvm_pdptr_read_mmu
authorJoerg Roedel <joerg.roedel@amd.com>
Fri, 10 Sep 2010 15:30:58 +0000 (17:30 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:52:42 +0000 (10:52 +0200)
commitd41d1895eb856b5d1c82f3be106b7a3e75e4216b
tree9c03b7f6b304fcebea1e242de53f39a9d26de395
parentff03a073e715d49b5cfeeec862649b1df2481ae0
KVM: MMU: Introduce kvm_pdptr_read_mmu

This function is implemented to load the pdptr pointers of
the currently running guest (l1 or l2 guest). Therefore it
takes care about the current paging mode and can read pdptrs
out of l2 guest physical memory.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/kvm_cache_regs.h
arch/x86/kvm/mmu.c
arch/x86/kvm/paging_tmpl.h