qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Paolo Bonzini
Subject: Re: [RFC v2 PATCH 13/13] KVM: Enable memfd based page invalidation/fallocate
Date: Tue, 23 Nov 2021 09:51:53 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]