summaryrefslogtreecommitdiffstats
path: root/virt/kvm/kvm_trace.c
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@de.ibm.com>2008-11-26 14:51:08 +0100
committerAvi Kivity <avi@redhat.com>2008-12-31 15:55:03 +0100
commit6692cef30b7caf7525ae99670cddbaf28f1f9d40 (patch)
tree956c25e52ef23e7127bef18b8b53d82e5e62220d /virt/kvm/kvm_trace.c
parentKVM: s390: Fix refcounting and allow module unload (diff)
downloadlinux-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