Signed-off-by: Benoit Canet <ben...@irqsave.net> --- qapi-schema.json | 18 ------------------ qapi/block-core.json | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/qapi-schema.json b/qapi-schema.json index 02958cc..79595b1 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -1338,24 +1338,6 @@ 'returns': 'str' } ## -# @drive-backup -# -# Start a point-in-time copy of a block device to a new destination. The -# status of ongoing drive-backup operations can be checked with -# query-block-jobs where the BlockJobInfo.type field has the value 'backup'. -# The operation can be stopped before it has completed using the -# block-job-cancel command. -# -# For the arguments, see the documentation of DriveBackup. -# -# Returns: nothing on success -# If @device is not a valid block device, DeviceNotFound -# -# Since 1.6 -## -{ 'command': 'drive-backup', 'data': 'DriveBackup' } - -## # @query-named-block-nodes # # Get the named block driver list diff --git a/qapi/block-core.json b/qapi/block-core.json index 75fe7ce..7c4be1b 100644 --- a/qapi/block-core.json +++ b/qapi/block-core.json @@ -722,3 +722,21 @@ 'data': { 'device': 'str', '*base': 'str', 'top': 'str', '*speed': 'int' } } +## +# @drive-backup +# +# Start a point-in-time copy of a block device to a new destination. The +# status of ongoing drive-backup operations can be checked with +# query-block-jobs where the BlockJobInfo.type field has the value 'backup'. +# The operation can be stopped before it has completed using the +# block-job-cancel command. +# +# For the arguments, see the documentation of DriveBackup. +# +# Returns: nothing on success +# If @device is not a valid block device, DeviceNotFound +# +# Since 1.6 +## +{ 'command': 'drive-backup', 'data': 'DriveBackup' } + -- 1.9.1