Skip to content
Snippets Groups Projects
Commit b6c6e2f1 authored by Vitaly Kuznetsov's avatar Vitaly Kuznetsov
Browse files

KVM: MMU: propagate alloc_workqueue failure

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2074832



commit a1a39128
Author: Paolo Bonzini <pbonzini@redhat.com>
Date:   Fri Mar 25 12:42:52 2022 -0400

    KVM: MMU: propagate alloc_workqueue failure

    If kvm->arch.tdp_mmu_zap_wq cannot be created, the failure has
    to be propagated up to kvm_mmu_init_vm and kvm_arch_init_vm.
    kvm_arch_init_vm also has to undo all the initialization, so
    group all the MMU initialization code at the beginning and
    handle cleaning up of kvm_page_track_init.

Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>

Signed-off-by: default avatarVitaly Kuznetsov <vkuznets@redhat.com>
parent b614e83b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment