Re: [RFC v2 PATCH 13/13] KVM: Enable memfd based page invalidation/fallocate

From: Paolo Bonzini
Date: Tue Nov 23 2021 - 03:52:07 EST


On 11/19/21 14:47, Chao Peng wrote:
+ list_for_each_entry(kvm, &vm_list, vm_list) {
+ if (kvm == vm)
+ return false;
+ }
+
+ return true;

This would have to take the kvm_lock, but see my reply to patch 1.

Paolo