commit | 52fde8df7dd13d90f5f8dc43157418bff968d90a | [log] [tgz] |
---|---|---|
author | Joerg Roedel <joerg.roedel@amd.com> | Fri Sep 10 17:30:44 2010 +0200 |
committer | Avi Kivity <avi@redhat.com> | Sun Oct 24 10:52:32 2010 +0200 |
tree | b02791abecb83a1b9772b95c333581087ab622f5 | |
parent | cb659db8a7d1ed558898f533a957dfc342f9499d [diff] |
KVM: MMU: Introduce kvm_init_shadow_mmu helper function 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>