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>
Showing
Please register or sign in to comment