KVM: MMU: Introduce kvm_init_shadow_mmu helper function
authorJoerg Roedel <joerg.roedel@amd.com>
Fri, 10 Sep 2010 15:30:44 +0000 (17:30 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:52:32 +0000 (10:52 +0200)
Some logic of the init_kvm_softmmu function is required to
build the Nested Nested Paging context. So factor the
required logic into a seperate function and export it.
Also make the whole init path suitable for more than one mmu
context.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@redhat.com>

No differences found