diff options
author | Peter Xu <peterx@redhat.com> | 2024-12-06 17:47:53 -0500 |
---|---|---|
committer | Fabiano Rosas <farosas@suse.de> | 2025-01-09 17:38:25 -0300 |
commit | de695b1399242da0c618049932a9a6f1a0a0a4f1 (patch) | |
tree | 2e4268601707591443c19a24da679f1df461344e | |
parent | e5f14aa5fe7f44649f5413558cac81c09d6c7f93 (diff) | |
download | qemu-de695b1399242da0c618049932a9a6f1a0a0a4f1.zip qemu-de695b1399242da0c618049932a9a6f1a0a0a4f1.tar.gz qemu-de695b1399242da0c618049932a9a6f1a0a0a4f1.tar.bz2 |
migration/multifd: Remove sync processing on postcopy
Multifd never worked with postcopy, at least yet so far.
Remove the sync processing there, because it's confusing, and they should
never appear. Now if RAM_SAVE_FLAG_MULTIFD_FLUSH is observed, we fail hard
instead of trying to invoke multifd code.
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20241206224755.1108686-6-peterx@redhat.com>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
-rw-r--r-- | migration/ram.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/migration/ram.c b/migration/ram.c index ef683d1..9eeb776 100644 --- a/migration/ram.c +++ b/migration/ram.c @@ -3772,15 +3772,7 @@ int ram_load_postcopy(QEMUFile *f, int channel) TARGET_PAGE_SIZE); } break; - case RAM_SAVE_FLAG_MULTIFD_FLUSH: - multifd_recv_sync_main(); - break; case RAM_SAVE_FLAG_EOS: - /* normal exit */ - if (migrate_multifd() && - migrate_multifd_flush_after_each_section()) { - multifd_recv_sync_main(); - } break; default: error_report("Unknown combination of migration flags: 0x%x" |