On 27/05/19 12:34, Wanpeng Li wrote: > + rcu_read_lock(); > + map = rcu_dereference(kvm->arch.apic_map); > + target = map->phys_map[dest_id]->vcpu; > + rcu_read_unlock(); > + > + kvm_vcpu_yield_to(target); This needs to check that map->phys_map[dest_id] is not NULL. Paolo