mbox series

[0/1] migration: Fix non-multifd migration

Message ID 20231011205548.10571-1-quintela@redhat.com (mailing list archive)
Headers show
Series migration: Fix non-multifd migration | expand

Message

Juan Quintela Oct. 11, 2023, 8:55 p.m. UTC
Fix sending multifd sync packets when not multifd is seleceted.

Basically we were using:

if (migrate_multifd_flush_after_each_iteration()) { ...}

and

if (!migrate_multifd_flush_after_each_iteration()) { ...}

But that is not enough for non multifd migration, so changed to also
check first if migrate_multid() is enabled in each test.

Please, review.

Juan Quintela (1):
  migration: Non multifd migration don't care about multifd flushes

 migration/ram.c | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)