]> git.proxmox.com Git - mirror_qemu.git/commit - hmp.c
migrate_start_postcopy: Command to trigger transition to postcopy
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Thu, 5 Nov 2015 18:10:56 +0000 (18:10 +0000)
committerJuan Quintela <quintela@redhat.com>
Tue, 10 Nov 2015 14:00:26 +0000 (15:00 +0100)
commit4886a1bcb7d7a88da02eefb0f33327c613ac52a3
tree600a68d994310505ab83b0689affa1eda947884e
parenteb59db53a4f23420f127ec7aad2a672f787df697
migrate_start_postcopy: Command to trigger transition to postcopy

Once postcopy is enabled (with migrate_set_capability), the migration
will still start on precopy mode.  To cause a transition into postcopy
the:

  migrate_start_postcopy

command must be issued.  Postcopy will start sometime after this
(when it's next checked in the migration loop).

Issuing the command before migration has started will error,
and issuing after it has finished is ignored.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
hmp-commands.hx
hmp.c
hmp.h
include/migration/migration.h
migration/migration.c
qapi-schema.json
qmp-commands.hx