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)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 22 Apr 2014 11:24:53 +0000 (13:24 +0200)
commit67335e63c9ef59e97b45a08b4a6a93767762031d
treeafe1abd9afec4fff5d825cc7353f6f7c2f84e2ef
parentf71d0dc5084b4de761b5be1aef1a855136cecd15
KVM: s390: Drop pending interrupts on guest exit

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>
CC: stable@vger.kernel.org
Reviewed-by: Thomas Huth <thuth@linux.vnet.ibm.com>
arch/s390/kvm/interrupt.c
arch/s390/kvm/kvm-s390.c
arch/s390/kvm/kvm-s390.h