diff options
author | Scott Wood <scottwood@freescale.com> | 2011-12-20 16:34:26 +0100 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2012-04-08 11:51:05 +0200 |
commit | fafd68327858bf30c846d38c7ea144f0827f552e (patch) | |
tree | 2b848572072cf86ccd138d00610237c8eef9e4b7 /arch/powerpc/kvm/44x.c | |
parent | KVM: PPC: booke: add booke-level vcpu load/put (diff) | |
download | linux-fafd68327858bf30c846d38c7ea144f0827f552e.tar.xz linux-fafd68327858bf30c846d38c7ea144f0827f552e.zip |
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/44x.c')
-rw-r--r-- | arch/powerpc/kvm/44x.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/powerpc/kvm/44x.c b/arch/powerpc/kvm/44x.c index 879a1a70acd0..50e7dbc7356c 100644 --- a/arch/powerpc/kvm/44x.c +++ b/arch/powerpc/kvm/44x.c @@ -163,6 +163,15 @@ void kvmppc_core_vcpu_free(struct kvm_vcpu *vcpu) kmem_cache_free(kvm_vcpu_cache, vcpu_44x); } +int kvmppc_core_init_vm(struct kvm *kvm) +{ + return 0; +} + +void kvmppc_core_destroy_vm(struct kvm *kvm) +{ +} + static int __init kvmppc_44x_init(void) { int r; |