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

Paolo Bonzini
2021-11-23T08:52:07Z

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