On Mon, 31 Mar 2025 at 20:57, Fabiano Rosas <faro...@suse.de> wrote:
> > --- a/migration/ram.c
> > +++ b/migration/ram.c
> > @@ -1297,7 +1297,7 @@ static int find_dirty_block(RAMState *rs, 
> > PageSearchStatus *pss)
> >          pss->page = 0;
> >          pss->block = QLIST_NEXT_RCU(pss->block, next);
> >          if (!pss->block) {
> > -            if (multifd_ram_sync_per_round()) {
> > +            if (multifd_ram_sync_per_round() && !migration_in_postcopy()) {
>
> I'd rather not put this check here. multifd_ram_flush_and_sync() will
> already return 0 if in postcopy.

* IIRC, without it migration did not finish or was crashing. I don't
recall if it was on Fedora or RHEL systems.

Thank you.
---
  - Prasad


Reply via email to