aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/x86.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kvm/x86.c')
-rw-r--r--arch/x86/kvm/x86.c2
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
4149void kvm_arch_destroy_vm(struct kvm *kvm) 4149void 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);