diff options
author | Alberto Garcia <berto@igalia.com> | 2016-07-05 17:29:00 +0300 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2016-07-13 13:26:02 +0200 |
commit | fd62c609edb32ddaafbe84c466dd21603577a46d (patch) | |
tree | 09bd3fa71464705b3852a2f61166345302fec6ed /qmp-commands.hx | |
parent | 2323322ed060749b52864836f6fcb1a906baf95d (diff) | |
download | qemu-fd62c609edb32ddaafbe84c466dd21603577a46d.zip qemu-fd62c609edb32ddaafbe84c466dd21603577a46d.tar.gz qemu-fd62c609edb32ddaafbe84c466dd21603577a46d.tar.bz2 |
commit: Add 'job-id' parameter to 'block-commit'
This patch adds a new optional 'job-id' parameter to 'block-commit',
allowing the user to specify the ID of the block job to be created.
Signed-off-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qmp-commands.hx')
-rw-r--r-- | qmp-commands.hx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qmp-commands.hx b/qmp-commands.hx index d61ea20..c46c65c 100644 --- a/qmp-commands.hx +++ b/qmp-commands.hx @@ -1151,7 +1151,7 @@ EQMP { .name = "block-commit", - .args_type = "device:B,base:s?,top:s?,backing-file:s?,speed:o?", + .args_type = "job-id:s?,device:B,base:s?,top:s?,backing-file:s?,speed:o?", .mhandler.cmd_new = qmp_marshal_block_commit, }, @@ -1164,6 +1164,8 @@ data between 'top' and 'base' into 'base'. Arguments: +- "job-id": Identifier for the newly-created block job. If omitted, + the device name will be used. (json-string, optional) - "device": The device's ID, must be unique (json-string) - "base": The file name of the backing image to write data into. If not specified, this is the deepest backing image |