KVM: MMU: Make walk_addr_generic capable for two-level walking
authorJoerg Roedel <joerg.roedel@amd.com>
Fri, 10 Sep 2010 15:30:52 +0000 (17:30 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:52:38 +0000 (10:52 +0200)
commit2329d46d213d0721dafae18db29f54b196f11468
treed417b780c53b11c00e927e31bde995e26bfcb51f
parentec92fe44e7ff94d04d8305e49efcffd8773e1cf6
KVM: MMU: Make walk_addr_generic capable for two-level walking

This patch uses kvm_read_guest_page_tdp to make the
walk_addr_generic functions suitable for two-level page
table walking.

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