KVM: PPC: Extract MMU init
authorAlexander Graf <agraf@suse.de>
Thu, 15 Apr 2010 22:11:45 +0000 (00:11 +0200)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:18:34 +0000 (12:18 +0300)
commit9cc5e9538ab7cbbfb1d7263373d2f58ab2af2bad
tree058bf5939ecca2f3b805dd657cc565051947db07
parent0604675fe17f68741730cebe74422605bb79d972
KVM: PPC: Extract MMU init

The host shadow mmu code needs to get initialized. It needs to fetch a
segment it can use to put shadow PTEs into.

That initialization code was in generic code, which is icky. Let's move
it over to the respective MMU file.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/include/asm/kvm_ppc.h
arch/powerpc/kvm/book3s.c
arch/powerpc/kvm/book3s_64_mmu_host.c