commit | 820b3fcdeb80d30410f4427d2cbf9161c35fdeef | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Tue Jun 03 13:44:17 2014 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Tue Jun 03 13:44:17 2014 +0200 |
tree | 579a6098cf53d8f2faaf69e2d825fd45485e6134 | |
parent | 53ea2e462e1b5b898d244bb113993df709107e32 [diff] |
KVM: add missing cleanup_srcu_struct Reported-by: hrg <hrgstephen@gmail.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c index 95b4c2b..c86be0f 100644 --- a/virt/kvm/kvm_main.c +++ b/virt/kvm/kvm_main.c
@@ -608,6 +608,7 @@ kvm_arch_destroy_vm(kvm); kvm_destroy_devices(kvm); kvm_free_physmem(kvm); + cleanup_srcu_struct(&kvm->irq_srcu); cleanup_srcu_struct(&kvm->srcu); kvm_arch_free_vm(kvm); hardware_disable_all();