Skip to content
Commit a1a39128 authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

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>
parent b1e34d32
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment