KVM: s390: Drop pending interrupts on guest exit

commit 67335e63c9 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>
This commit is contained in:
Christian Borntraeger 2014-03-25 17:09:08 +01:00 • committed by Greg Kroah-Hartman
commit cbd4c4f296
3 changed files with 5 additions and 2 deletions