commit | 6692cef30b7caf7525ae99670cddbaf28f1f9d40 | [log] [tgz] |
---|---|---|
author | Christian Borntraeger <borntraeger@de.ibm.com> | Wed Nov 26 14:51:08 2008 +0100 |
committer | Avi Kivity <avi@redhat.com> | Wed Dec 31 16:55:03 2008 +0200 |
tree | 956c25e52ef23e7127bef18b8b53d82e5e62220d | |
parent | d329c035e754156ffabcb64ff75d05bb8e2ddbf5 [diff] |
KVM: s390: Fix memory leak of vcpu->run The s390 backend of kvm never calls kvm_vcpu_uninit. This causes a memory leak of vcpu->run pages. Lets call kvm_vcpu_uninit in kvm_arch_vcpu_destroy to free the vcpu->run. Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Acked-by: Carsten Otte <cotte@de.ibm.com> Signed-off-by: Avi Kivity <avi@redhat.com>