• Paolo Bonzini's avatar
    KVM: MMU: propagate alloc_workqueue failure · a1a39128
    Paolo Bonzini authored
    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>
    a1a39128
tdp_mmu.c 56.6 KB