]> Git Repo - linux.git/commitdiff
KVM: add missing cleanup_srcu_struct
authorPaolo Bonzini <[email protected]>
Tue, 3 Jun 2014 11:44:17 +0000 (13:44 +0200)
committerPaolo Bonzini <[email protected]>
Tue, 3 Jun 2014 11:44:17 +0000 (13:44 +0200)
Reported-by: hrg <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
virt/kvm/kvm_main.c

index 95b4c2b3906ac0f8c474f86d4819994a4d67f3b2..c86be0f983db706c81cfe60aedfb77f4a315e20f 100644 (file)
@@ -608,6 +608,7 @@ static void kvm_destroy_vm(struct kvm *kvm)
        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();
This page took 0.058131 seconds and 4 git commands to generate.