]> git.proxmox.com Git - mirror_qemu.git/commit
migration/postcopy: start_postcopy could be true only when migrate_postcopy() return...
authorWei Yang <richardw.yang@linux.intel.com>
Thu, 18 Jul 2019 08:37:47 +0000 (16:37 +0800)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Wed, 14 Aug 2019 16:33:14 +0000 (17:33 +0100)
commit52aec70923a19e73f7ecf5da484a9fd1b07634f5
tree2f5ef2b817cc5726ad744e9b49d9c4fb88f80ccb
parent305b6f8431f0b612649bffe1fbfde760a5cd9300
migration/postcopy: start_postcopy could be true only when migrate_postcopy() return true

There is only one place to set start_postcopy to true,
qmp_migrate_start_postcopy(), which make sure start_postcopy could be
set to true when migrate_postcopy() return true.

So start_postcopy is true implies the other one.

Signed-off-by: Wei Yang <richardw.yang@linux.intel.com>
Message-Id: <20190718083747.5859-1-richardw.yang@linux.intel.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
migration/migration.c