Re: [PATCH] KVM: PPC: fix couple of memory leaks in MPIC/XICS devices

2013-12-09 Thread Alexander Graf
On 04.09.2013, at 14:16, Paul Mackerras pau...@samba.org wrote: On Sun, Sep 01, 2013 at 03:53:46PM +0300, Gleb Natapov wrote: XICS failed to free xics structure on error path. MPIC destroy handler forgot to delete kvm_device structure. Signed-off-by: Gleb Natapov g...@redhat.com

Re: [PATCH] KVM: PPC: fix couple of memory leaks in MPIC/XICS devices

2013-12-09 Thread Alexander Graf
On 04.09.2013, at 14:16, Paul Mackerras pau...@samba.org wrote: On Sun, Sep 01, 2013 at 03:53:46PM +0300, Gleb Natapov wrote: XICS failed to free xics structure on error path. MPIC destroy handler forgot to delete kvm_device structure. Signed-off-by: Gleb Natapov g...@redhat.com

Re: [PATCH] KVM: PPC: fix couple of memory leaks in MPIC/XICS devices

2013-09-04 Thread Alexander Graf
On 01.09.2013, at 14:53, Gleb Natapov wrote: XICS failed to free xics structure on error path. MPIC destroy handler forgot to delete kvm_device structure. Signed-off-by: Gleb Natapov g...@redhat.com Paul, please ack :). Alex -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH] KVM: PPC: fix couple of memory leaks in MPIC/XICS devices

2013-09-04 Thread Paul Mackerras
On Sun, Sep 01, 2013 at 03:53:46PM +0300, Gleb Natapov wrote: XICS failed to free xics structure on error path. MPIC destroy handler forgot to delete kvm_device structure. Signed-off-by: Gleb Natapov g...@redhat.com Acked-by: Paul Mackerras pau...@samba.org -- To unsubscribe from this list:

Re: [PATCH] KVM: PPC: fix couple of memory leaks in MPIC/XICS devices

2013-09-04 Thread Alexander Graf
On 01.09.2013, at 14:53, Gleb Natapov wrote: XICS failed to free xics structure on error path. MPIC destroy handler forgot to delete kvm_device structure. Signed-off-by: Gleb Natapov g...@redhat.com Paul, please ack :). Alex -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH] KVM: PPC: fix couple of memory leaks in MPIC/XICS devices

2013-09-04 Thread Paul Mackerras
On Sun, Sep 01, 2013 at 03:53:46PM +0300, Gleb Natapov wrote: XICS failed to free xics structure on error path. MPIC destroy handler forgot to delete kvm_device structure. Signed-off-by: Gleb Natapov g...@redhat.com Acked-by: Paul Mackerras pau...@samba.org -- To unsubscribe from this list:

[PATCH] KVM: PPC: fix couple of memory leaks in MPIC/XICS devices

2013-09-01 Thread Gleb Natapov
XICS failed to free xics structure on error path. MPIC destroy handler forgot to delete kvm_device structure. Signed-off-by: Gleb Natapov g...@redhat.com --- Be warned that this is not even compiled tested. diff --git a/arch/powerpc/kvm/book3s_xics.c b/arch/powerpc/kvm/book3s_xics.c index

[PATCH] KVM: PPC: fix couple of memory leaks in MPIC/XICS devices

2013-09-01 Thread Gleb Natapov
XICS failed to free xics structure on error path. MPIC destroy handler forgot to delete kvm_device structure. Signed-off-by: Gleb Natapov g...@redhat.com --- Be warned that this is not even compiled tested. diff --git a/arch/powerpc/kvm/book3s_xics.c b/arch/powerpc/kvm/book3s_xics.c index