Re: [PATCH v2 24/28] KVM: x86/mmu: Allow zap gfn range to operate under the mmu read lock

From: Paolo Bonzini
Date: Wed Feb 03 2021 - 06:29:04 EST


On 02/02/21 19:57, Ben Gardon wrote:

@@ -5518,13 +5518,17 @@ void kvm_zap_gfn_range(struct kvm *kvm, gfn_t gfn_start, gfn_t gfn_end)
}
}
+ kvm_mmu_unlock(kvm);
+
if (kvm->arch.tdp_mmu_enabled) {

Temporary compile error.

Paolo