> > if apic_id is less than min, and (max - apic_id) is greater than > > KVM_IPI_CLUSTER_SIZE, then third check condition is satisfied, > > > > but it should enter last branch, send IPI directly > > > > Fixes: aaffcfd1e82 ("KVM: X86: Implement PV IPIs in linux guest") > > Signed-off-by: Li RongQing <lirongqing@xxxxxxxxx> > > So an example is > > apic_id on first iteration = 1 > apic_id on second iteration = KVM_IPI_CLUSTER_SIZE > apic_id on third iteration = 0 > > Thanks, this looks good. > > Paolo Ping thanks -Li