KVM: MMU: Add infrastructure for two-level page walker
authorJoerg Roedel <joerg.roedel@amd.com>
Fri, 10 Sep 2010 15:30:48 +0000 (17:30 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:52:34 +0000 (10:52 +0200)
commitc30a358d33e0e111f06e54a4a4125371e6b6693c
treebdd1d80f2eca1a63344b80f8e4353095cd06a947
parent1e301feb079e8ee6091bb75283e960fc33059a68
KVM: MMU: Add infrastructure for two-level page walker

This patch introduces a mmu-callback to translate gpa
addresses in the walk_addr code. This is later used to
translate l2_gpa addresses into l1_gpa addresses.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/x86.c
include/linux/kvm_host.h