kvm: powerpc: book3s hv: Fix vcore leak
authorPaul Mackerras <paulus@samba.org>
Fri, 27 Sep 2013 10:03:43 +0000 (15:33 +0530)
committerAlexander Graf <agraf@suse.de>
Thu, 17 Oct 2013 12:49:36 +0000 (14:49 +0200)
commitf1378b1c0bdce349e21f271dec0612a6cfac5d14
treed5055cc06aa42edbbe644f36c49f6a6232e91562
parent491d6ecc17171518565358c2cfe33b59722d234c
kvm: powerpc: book3s hv: Fix vcore leak

add kvmppc_free_vcores() to free the kvmppc_vcore structures
that we allocate for a guest, which are currently being leaked.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/book3s_hv.c