diff options
author | Christian Borntraeger <borntraeger@de.ibm.com> | 2008-11-26 14:51:08 +0100 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2008-12-31 15:55:03 +0100 |
commit | 6692cef30b7caf7525ae99670cddbaf28f1f9d40 (patch) | |
tree | 956c25e52ef23e7127bef18b8b53d82e5e62220d /virt/kvm/kvm_trace.c | |
parent | KVM: s390: Fix refcounting and allow module unload (diff) | |
download | linux-6692cef30b7caf7525ae99670cddbaf28f1f9d40.tar.xz linux-6692cef30b7caf7525ae99670cddbaf28f1f9d40.zip |
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>
Diffstat (limited to 'virt/kvm/kvm_trace.c')
0 files changed, 0 insertions, 0 deletions