diff options
Diffstat (limited to 'arch')
-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 38f79b6aaf1e..9a4a39cfe6ef 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c | |||
@@ -4148,8 +4148,8 @@ static void kvm_free_vcpus(struct kvm *kvm) | |||
4148 | 4148 | ||
4149 | void kvm_arch_destroy_vm(struct kvm *kvm) | 4149 | void kvm_arch_destroy_vm(struct kvm *kvm) |
4150 | { | 4150 | { |
4151 | kvm_iommu_unmap_guest(kvm); | ||
4152 | kvm_free_all_assigned_devices(kvm); | 4151 | kvm_free_all_assigned_devices(kvm); |
4152 | kvm_iommu_unmap_guest(kvm); | ||
4153 | kvm_free_pit(kvm); | 4153 | kvm_free_pit(kvm); |
4154 | kfree(kvm->arch.vpic); | 4154 | kfree(kvm->arch.vpic); |
4155 | kfree(kvm->arch.vioapic); | 4155 | kfree(kvm->arch.vioapic); |