diff options
Diffstat (limited to 'virt/kvm')
-rw-r--r-- | virt/kvm/kvm_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c index 0b6f2f71271f..68e3f1ec1674 100644 --- a/virt/kvm/kvm_main.c +++ b/virt/kvm/kvm_main.c | |||
@@ -891,6 +891,7 @@ static void kvm_destroy_vm(struct kvm *kvm) | |||
891 | { | 891 | { |
892 | struct mm_struct *mm = kvm->mm; | 892 | struct mm_struct *mm = kvm->mm; |
893 | 893 | ||
894 | kvm_arch_sync_events(kvm); | ||
894 | spin_lock(&kvm_lock); | 895 | spin_lock(&kvm_lock); |
895 | list_del(&kvm->vm_list); | 896 | list_del(&kvm->vm_list); |
896 | spin_unlock(&kvm_lock); | 897 | spin_unlock(&kvm_lock); |