summaryrefslogtreecommitdiffstats
path: root/hmp-commands.hx
diff options
context:
space:
mode:
authorPeter Xu2018-05-02 12:47:23 +0200
committerJuan Quintela2018-05-15 20:54:49 +0200
commit7a4da28b26382bbfc01847dcb7ac01de99f0a1f0 (patch)
tree7801e9caad166d937f63c5df1ad91b212b027e41 /hmp-commands.hx
parentmigration: allow fault thread to pause (diff)
downloadqemu-7a4da28b26382bbfc01847dcb7ac01de99f0a1f0.tar.gz
qemu-7a4da28b26382bbfc01847dcb7ac01de99f0a1f0.tar.xz
qemu-7a4da28b26382bbfc01847dcb7ac01de99f0a1f0.zip
qmp: hmp: add migrate "resume" option
It will be used when we want to resume one paused migration. Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Signed-off-by: Peter Xu <peterx@redhat.com> Message-Id: <20180502104740.12123-8-peterx@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com> --- s/2.12/2.13/
Diffstat (limited to 'hmp-commands.hx')
-rw-r--r--hmp-commands.hx7
1 files changed, 4 insertions, 3 deletions
diff --git a/hmp-commands.hx b/hmp-commands.hx
index 227f7eee88..a7051ee391 100644
--- a/hmp-commands.hx
+++ b/hmp-commands.hx
@@ -897,13 +897,14 @@ ETEXI
{
.name = "migrate",
- .args_type = "detach:-d,blk:-b,inc:-i,uri:s",
- .params = "[-d] [-b] [-i] uri",
+ .args_type = "detach:-d,blk:-b,inc:-i,resume:-r,uri:s",
+ .params = "[-d] [-b] [-i] [-r] uri",
.help = "migrate to URI (using -d to not wait for completion)"
"\n\t\t\t -b for migration without shared storage with"
" full copy of disk\n\t\t\t -i for migration without "
"shared storage with incremental copy of disk "
- "(base image shared between src and destination)",
+ "(base image shared between src and destination)"
+ "\n\t\t\t -r to resume a paused migration",
.cmd = hmp_migrate,
},