On 05/09/2018 06:23 AM, Juan Quintela wrote:
From: Peter Xu <pet...@redhat.com>

Introducing new migration state "postcopy-recover". If a migration
procedure is paused and the connection is rebuilt afterward
successfully, we'll switch the source VM state from "postcopy-paused" to
the new state "postcopy-recover", then we'll do the resume logic in the
migration thread (along with the return path thread).

This patch only do the state switch on source side. Another following up
patch will handle the state switching on destination side using the same
status bit.

Reviewed-by: Dr. David Alan Gilbert <dgilb...@redhat.com>
Signed-off-by: Peter Xu <pet...@redhat.com>
Message-Id: <20180502104740.12123-10-pet...@redhat.com>
Signed-off-by: Juan Quintela <quint...@redhat.com>
---

+++ b/qapi/migration.json
@@ -91,6 +91,8 @@
  #
  # @postcopy-paused: during postcopy but paused. (since 2.13)
  #
+# @postcopy-recover: trying to recover from a paused postcopy. (since 2.11)
+#

This doesn't have to hold up the pull request (a followup patch is fine), but this needs s/2.11/2.13/


--
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org

Reply via email to