summaryrefslogtreecommitdiff
path: root/arch/powerpc/kvm/e500.c
diff options
context:
space:
mode:
authorScott Wood <scottwood@freescale.com>2011-12-20 19:34:26 +0400
committerAvi Kivity <avi@redhat.com>2012-04-08 13:51:05 +0400
commitfafd68327858bf30c846d38c7ea144f0827f552e (patch)
tree2b848572072cf86ccd138d00610237c8eef9e4b7 /arch/powerpc/kvm/e500.c
parent94fa9d9927627a948cef3eff7ebd228dcab5a316 (diff)
downloadlinux-fafd68327858bf30c846d38c7ea144f0827f552e.tar.xz
KVM: PPC: booke: Move vm core init/destroy out of booke.c
e500mc will want to do lpid allocation/deallocation here. Signed-off-by: Scott Wood <scottwood@freescale.com> Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/powerpc/kvm/e500.c')
-rw-r--r--arch/powerpc/kvm/e500.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/powerpc/kvm/e500.c b/arch/powerpc/kvm/e500.c
index 2d5fe04d5eec..ac6c9ae14a63 100644
--- a/arch/powerpc/kvm/e500.c
+++ b/arch/powerpc/kvm/e500.c
@@ -226,6 +226,15 @@ void kvmppc_core_vcpu_free(struct kvm_vcpu *vcpu)
kmem_cache_free(kvm_vcpu_cache, vcpu_e500);
}
+int kvmppc_core_init_vm(struct kvm *kvm)
+{
+ return 0;
+}
+
+void kvmppc_core_destroy_vm(struct kvm *kvm)
+{
+}
+
static int __init kvmppc_e500_init(void)
{
int r, i;