]> git.proxmox.com Git - mirror_qemu.git/commit
migration: new state "postcopy-recover"
authorPeter Xu <peterx@redhat.com>
Wed, 2 May 2018 10:47:25 +0000 (18:47 +0800)
committerJuan Quintela <quintela@redhat.com>
Tue, 15 May 2018 18:56:30 +0000 (20:56 +0200)
commit135b87b4f08029a4ec5c31f9c4473b519da7e2f7
tree8a3c1fbc28ee2b3e27551a15f70453ff31d5b346
parentd3e35b8f6248eab2c3d412198a487ae49706b214
migration: new state "postcopy-recover"

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 <dgilbert@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20180502104740.12123-10-peterx@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
---
s/2.11/2.13/
migration/migration.c
qapi/migration.json