KVM: s390: Drop pending interrupts on guest exit
authorChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 25 Mar 2014 16:09:08 +0000 (17:09 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Jun 2014 19:17:34 +0000 (15:17 -0400)
commitcbd4c4f2967cddc2f6bfa7457e085cc3156f95ad
treec4b5e76cd0dbeda271fb58b533936f2b86272344
parent7c9dcb02cbda415e30e30445ec90f1dd8fa381db
KVM: s390: Drop pending interrupts on guest exit

commit 67335e63c9ef59e97b45a08b4a6a93767762031d upstream.

On hard exits (abort, sigkill) we have have some kvm_s390_interrupt_info
structures hanging around. Delete those on exit to avoid memory leaks.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/s390/kvm/interrupt.c
arch/s390/kvm/kvm-s390.c
arch/s390/kvm/kvm-s390.h