]> git.proxmox.com Git - mirror_qemu.git/commit - migration/migration.c
migration: move income process out of multifd
authorPeter Xu <peterx@redhat.com>
Wed, 27 Jun 2018 13:22:44 +0000 (21:22 +0800)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Tue, 10 Jul 2018 11:48:53 +0000 (12:48 +0100)
commit81e620531fa842f760086964ca1b8657ae6c07ba
tree9e2422bf4269d3a9fb40bc9906b2545478dbc31b
parenteed1cc7866ae35bd28926d75447dd6076bd6bb96
migration: move income process out of multifd

Move the call to migration_incoming_process() out of multifd code.  It's
a bit strange that we can migration generic calls in multifd code.
Instead, let multifd_recv_new_channel() return a boolean showing whether
it's ready to continue the incoming migration.

Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20180627132246.5576-3-peterx@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
migration/migration.c
migration/ram.c
migration/ram.h