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/
This commit is contained in:
Peter Xu 2018-05-02 18:47:23 +08:00 committed by Juan Quintela
parent 3a7804c306
commit 7a4da28b26
4 changed files with 12 additions and 6 deletions

View file

@ -1031,6 +1031,8 @@
# @detach: this argument exists only for compatibility reasons and
# is ignored by QEMU
#
# @resume: resume one paused migration, default "off". (since 2.13)
#
# Returns: nothing on success
#
# Since: 0.14.0
@ -1052,7 +1054,8 @@
#
##
{ 'command': 'migrate',
'data': {'uri': 'str', '*blk': 'bool', '*inc': 'bool', '*detach': 'bool' } }
'data': {'uri': 'str', '*blk': 'bool', '*inc': 'bool',
'*detach': 'bool', '*resume': 'bool' } }
##
# @migrate-incoming: