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 d51eed239b4..d721e2d81a5 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c | |||
@@ -5523,12 +5523,12 @@ static void kvm_free_vcpus(struct kvm *kvm) | |||
5523 | void kvm_arch_sync_events(struct kvm *kvm) | 5523 | void kvm_arch_sync_events(struct kvm *kvm) |
5524 | { | 5524 | { |
5525 | kvm_free_all_assigned_devices(kvm); | 5525 | kvm_free_all_assigned_devices(kvm); |
5526 | kvm_free_pit(kvm); | ||
5526 | } | 5527 | } |
5527 | 5528 | ||
5528 | void kvm_arch_destroy_vm(struct kvm *kvm) | 5529 | void kvm_arch_destroy_vm(struct kvm *kvm) |
5529 | { | 5530 | { |
5530 | kvm_iommu_unmap_guest(kvm); | 5531 | kvm_iommu_unmap_guest(kvm); |
5531 | kvm_free_pit(kvm); | ||
5532 | kfree(kvm->arch.vpic); | 5532 | kfree(kvm->arch.vpic); |
5533 | kfree(kvm->arch.vioapic); | 5533 | kfree(kvm->arch.vioapic); |
5534 | kvm_free_vcpus(kvm); | 5534 | kvm_free_vcpus(kvm); |