summary refs log tree commit diff stats
path: root/hmp-commands.hx
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <dgilbert@redhat.com>2015-02-19 11:40:28 +0000
committerJuan Quintela <quintela@redhat.com>2015-03-16 14:31:07 +0100
commitbf1ae1f4dc348650fb7f32a3fcc278f60a7b1bf6 (patch)
tree36fd42db2a0c2599d7cc018e5143e03519c3aee3 /hmp-commands.hx
parentadde220a93a0192782243d25580a647004f6dd44 (diff)
downloadfocaccia-qemu-bf1ae1f4dc348650fb7f32a3fcc278f60a7b1bf6.tar.gz
focaccia-qemu-bf1ae1f4dc348650fb7f32a3fcc278f60a7b1bf6.zip
Add migrate_incoming
Add migrate_incoming/migrate-incoming to start an incoming
migration.

Once a qemu has been started with
    -incoming defer

the migration can be started by issuing:
    migrate_incoming uri

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'hmp-commands.hx')
-rw-r--r--hmp-commands.hx16
1 files changed, 16 insertions, 0 deletions
diff --git a/hmp-commands.hx b/hmp-commands.hx
index d5022d843c..9c1e849859 100644
--- a/hmp-commands.hx
+++ b/hmp-commands.hx
@@ -922,6 +922,22 @@ Cancel the current VM migration.
 ETEXI
 
     {
+        .name       = "migrate_incoming",
+        .args_type  = "uri:s",
+        .params     = "uri",
+        .help       = "Continue an incoming migration from an -incoming defer",
+        .mhandler.cmd = hmp_migrate_incoming,
+    },
+
+STEXI
+@item migrate_incoming @var{uri}
+@findex migrate_incoming
+Continue an incoming migration using the @var{uri} (that has the same syntax
+as the -incoming option).
+
+ETEXI
+
+    {
         .name       = "migrate_set_cache_size",
         .args_type  = "value:o",
         .params     = "value",