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 16:55:03 +0200 |
commit | 6692cef30b7caf7525ae99670cddbaf28f1f9d40 (patch) | |
tree | 956c25e52ef23e7127bef18b8b53d82e5e62220d /virt/kvm | |
parent | d329c035e754156ffabcb64ff75d05bb8e2ddbf5 (diff) | |
download | linux-6692cef30b7caf7525ae99670cddbaf28f1f9d40.tar.bz2 |
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')
0 files changed, 0 insertions, 0 deletions