qmp-commands.hx: Update the supported 'transaction' operations
PATCH 1/1 qmp-commands.hx: Update the supported 'transaction' operations
Although the canonical source of reference for QMP commands is qapi-schema.json, for consistency's sake, update qmp-commands.hx to state the list of supported transactionable operations, namely:
drive-backup
blockdev-backup
blockdev-snapshot-internal-sync
abort
block-dirty-bitmap-add
block-dirty-bitmap-clear
NB: The 'block-dirty-bitmap-add' and 'block-dirty-bitmap-add' commands will be available once the in-review "transactionless incremental backup" patch series[1] is merged upstream.
[1] http://lists.nongnu.org/archive/html/qemu-devel/2015-04/msg02161.html
--- qmp-commands.hx | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-)
qmp-commands.hx +8 -5
@@ -1200,11 +1200,14 @@ SQMP transaction ----------- -Atomically operate on one or more block devices. The only supported operations -for now are drive-backup, internal and external snapshotting. A list of -dictionaries is accepted, that contains the actions to be performed. -If there is any failure performing any of the operations, all operations -for the group are abandoned. +Atomically operate on one or more block devices. Operations that are +currently supported: drive-backup, blockdev-backup, +blockdev-snapshot-sync, blockdev-snapshot-internal-sync, abort, +block-dirty-bitmap-add, block-dirty-bitmap-clear (refer +qemu/qapi-schema.json file for minimum required QEMU versions for these +commands). A list of dictionaries is accepted, that contains the actions +to be performed. If there is any failure performing any of the +operations, all operations for the group are abandoned. For external snapshots, the dictionary contains the device, the file to use for the new snapshot, and the format. The default format, if not specified, is
Signature · 1 line
2.1.0
Quoted 23 lines · Kashyap Chamarthy
Although the canonical source of reference for QMP commands is qapi-schema.json, for consistency's sake, update qmp-commands.hx to state the list of supported transactionable operations, namely:
drive-backup
blockdev-backup
blockdev-snapshot-internal-sync
abort
block-dirty-bitmap-add
block-dirty-bitmap-clearNB: The 'block-dirty-bitmap-add' and 'block-dirty-bitmap-add' commands will be available once the in-review "transactionless incremental backup" patch series[1] is merged upstream.
[1] http://lists.nongnu.org/archive/html/qemu-devel/2015-04/msg02161.html
Signed-off-by Kashyap Chamarthy <[email protected]>--- qmp-commands.hx | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-)
qmp-commands.hx SQMP · line 1206
Quoted 9 lines
qmp-commands.hx +4
-5-Atomically operate on one or more block devices. The only supported operations -for now are drive-backup, internal and external snapshotting. A list of -dictionaries is accepted, that contains the actions to be performed. -If there is any failure performing any of the operations, all operations -for the group are abandoned. +Atomically operate on one or more block devices. Operations that are +currently supported: drive-backup, blockdev-backup, +blockdev-snapshot-sync, blockdev-snapshot-internal-sync, abort, +block-dirty-bitmap-add, block-dirty-bitmap-clear (refer
s/refer/refer to the/
qmp-commands.hx SQMP · line 1210
Quoted 5 lines
qmp-commands.hx +4
-0+qemu/qapi-schema.json file for minimum required QEMU versions for these +commands). A list of dictionaries is accepted, that contains the actions +to be performed. If there is any failure performing any of the +operations, all operations for the group are abandoned.
With that change,
Signature · 2 lines
Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Quoted 5 lines · Eric Blake
Quoted 4 lines · Kashyap Chamarthy
Although the canonical source of reference for QMP commands is qapi-schema.json, for consistency's sake, update qmp-commands.hx to state the list of supported transactionable operations, namely:
Quoted 8 lines
Quoted 8 lines
drive-backup
blockdev-backup
blockdev-snapshot-internal-sync
abort
block-dirty-bitmap-add
block-dirty-bitmap-clearNB: The 'block-dirty-bitmap-add' and 'block-dirty-bitmap-add' commands
Another thing I didn't notice: I enntered the same command name twice.
Quoted 23 lines
Quoted 11 lines
will be available once the in-review "transactionless incremental backup" patch series[1] is merged upstream.
[1] http://lists.nongnu.org/archive/html/qemu-devel/2015-04/msg02161.html
Signed-off-by Kashyap Chamarthy <[email protected]>--- qmp-commands.hx | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-)qmp-commands.hx SQMP · line 1206
Quoted 9 lines
qmp-commands.hx +4
-5-Atomically operate on one or more block devices. The only supported operations -for now are drive-backup, internal and external snapshotting. A list of -dictionaries is accepted, that contains the actions to be performed. -If there is any failure performing any of the operations, all operations -for the group are abandoned. +Atomically operate on one or more block devices. Operations that are +currently supported: drive-backup, blockdev-backup, +blockdev-snapshot-sync, blockdev-snapshot-internal-sync, abort, +block-dirty-bitmap-add, block-dirty-bitmap-clear (refers/refer/refer to the/
Quoted 8 lines
qmp-commands.hx SQMP · line 1210
Quoted 5 lines
qmp-commands.hx +4
-0+qemu/qapi-schema.json file for minimum required QEMU versions for these +commands). A list of dictionaries is accepted, that contains the actions +to be performed. If there is any failure performing any of the +operations, all operations for the group are abandoned.With that change,
Reviewed-by Eric Blake <[email protected]>
Thanks. I'll send a v2 fixing what you found and the other mistake (double entry of the same command) in the commit message.
Signature · 1 line
/kashyap