On Fri, Aug 8, 2025 at 11:37 PM Peter Xu <pet...@redhat.com> wrote:

> On Fri, Aug 08, 2025 at 10:55:25AM -0300, Fabiano Rosas wrote:
> > Please work with Lukas to figure out whether yank can be used here. I
> > think that's the correct approach. If the main loop is blocked, then
> > some out-of-band cancellation routine is needed. migrate_cancel() could
> > be it, but at the moment it's not. Yank is the second best thing.
>
> I agree.
>
> migrate_cancel() should really be an OOB command..  It should be a superset
> of yank features, plus anything migration speficic besides yanking the
> channels, for example, when migration thread is blocked in PRE_SWITCHOVER.


> I'll add this into my todo; maybe I can do something with it this release.
> I'm happy if anyone would beat me to it.
>

Is there any suggestions if I can fix migrate_cancel with the
"OOB-command-way"?
Maybe these could be the preceding patchset of your work.


>
> >
> > The need for a timeout is usually indicative of a design issue. In this
> > case, the choice of a coroutine for the incoming side is the obvious
> > one. Peter will tell you all about it! =)
>
> Nah. :)
>
> --
> Peter Xu
>
>

-- 
Best regards

Reply via email to