projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53ea2e4
)
KVM: add missing cleanup_srcu_struct
author
Paolo Bonzini
<pbonzini@redhat.com>
Tue, 3 Jun 2014 11:44:17 +0000
(13:44 +0200)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Tue, 3 Jun 2014 11:44:17 +0000
(13:44 +0200)
Reported-by: hrg <hrgstephen@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
virt/kvm/kvm_main.c
patch
|
blob
|
blame
|
history
diff --git
a/virt/kvm/kvm_main.c
b/virt/kvm/kvm_main.c
index 95b4c2b3906ac0f8c474f86d4819994a4d67f3b2..c86be0f983db706c81cfe60aedfb77f4a315e20f 100644
(file)
--- a/
virt/kvm/kvm_main.c
+++ b/
virt/kvm/kvm_main.c
@@
-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();