diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2022-03-25 12:42:52 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-04-02 05:34:38 -0400 |
commit | a1a39128faabc9883a7f9e3f8777b3fbd560fa5f (patch) | |
tree | 78a135733742d3f12bd3b2927b25d52683adcda0 /arch/x86/kernel/pci-swiotlb.c | |
parent | b1e34d325397a33d97d845e312d7cf2a8b646b44 (diff) |
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: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kernel/pci-swiotlb.c')
0 files changed, 0 insertions, 0 deletions