diff options
Diffstat (limited to 'arch/x86/kvm/x86.c')
-rw-r--r-- | arch/x86/kvm/x86.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index b0fc079f1bee..fc3e329f6ade 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c | |||
@@ -4129,11 +4129,11 @@ static void kvm_free_vcpus(struct kvm *kvm) | |||
4129 | 4129 | ||
4130 | void kvm_arch_sync_events(struct kvm *kvm) | 4130 | void kvm_arch_sync_events(struct kvm *kvm) |
4131 | { | 4131 | { |
4132 | kvm_free_all_assigned_devices(kvm); | ||
4132 | } | 4133 | } |
4133 | 4134 | ||
4134 | void kvm_arch_destroy_vm(struct kvm *kvm) | 4135 | void kvm_arch_destroy_vm(struct kvm *kvm) |
4135 | { | 4136 | { |
4136 | kvm_free_all_assigned_devices(kvm); | ||
4137 | kvm_iommu_unmap_guest(kvm); | 4137 | kvm_iommu_unmap_guest(kvm); |
4138 | kvm_free_pit(kvm); | 4138 | kvm_free_pit(kvm); |
4139 | kfree(kvm->arch.vpic); | 4139 | kfree(kvm->arch.vpic); |