On Fri, 23 Apr 2021 at 16:13, Paolo Bonzini <pbonzini@xxxxxxxxxx> wrote: > > On 23/04/21 09:11, Wanpeng Li wrote: > > From: Wanpeng Li <wanpengli@xxxxxxxxxxx> > > > > kvm_memslots() will be called by kvm_write_guest_offset_cached() so > > take the srcu lock. > > > > Signed-off-by: Wanpeng Li <wanpengli@xxxxxxxxxxx> > > Good catch. But I would pull it from kvm_steal_time_set_preempted to > kvm_arch_vcpu_put instead. Will do. :) Wanpeng