summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorMarc-André Lureau2016-06-23 14:10:29 +0200
committerMarkus Armbruster2017-01-16 09:19:45 +0100
commitf44fb58f354724d7fca84ff829fbebfb53468b96 (patch)
tree8d3aafea2d28ec08070e592041fdf986841f06ef /docs
parentqmp-commands: move 'change-backing-file' doc to schema (diff)
downloadqemu-f44fb58f354724d7fca84ff829fbebfb53468b96.tar.gz
qemu-f44fb58f354724d7fca84ff829fbebfb53468b96.tar.xz
qemu-f44fb58f354724d7fca84ff829fbebfb53468b96.zip
qmp-commands: move 'block-commit' doc to schema
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/qmp-commands.txt56
1 files changed, 0 insertions, 56 deletions
diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt
index 87fda01b45..09c9aaa128 100644
--- a/docs/qmp-commands.txt
+++ b/docs/qmp-commands.txt
@@ -208,62 +208,6 @@ Example:
"base": "/tmp/master.qcow2" } }
<- { "return": {} }
-block-commit
-------------
-
-Live commit of data from overlay image nodes into backing nodes - i.e., writes
-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 name or node-name of a root node (json-string)
-- "base": The file name of the backing image to write data into.
- If not specified, this is the deepest backing image
- (json-string, optional)
-- "top": The file name of the backing image within the image chain,
- which contains the topmost data to be committed down. If
- not specified, this is the active layer. (json-string, optional)
-
-- backing-file: The backing file string to write into the overlay
- image of 'top'. If 'top' is the active layer,
- specifying a backing file string is an error. This
- filename is not validated.
-
- If a pathname string is such that it cannot be
- resolved by QEMU, that means that subsequent QMP or
- HMP commands must use node-names for the image in
- question, as filename lookup methods will fail.
-
- If not specified, QEMU will automatically determine
- the backing file string to use, or error out if
- there is no obvious choice. Care should be taken
- when specifying the string, to specify a valid
- filename or protocol.
- (json-string, optional) (Since 2.1)
-
- If top == base, that is an error.
- If top == active, the job will not be completed by itself,
- user needs to complete the job with the block-job-complete
- command after getting the ready event. (Since 2.0)
-
- If the base image is smaller than top, then the base image
- will be resized to be the same size as top. If top is
- smaller than the base image, the base will not be
- truncated. If you want the base image size to match the
- size of the smaller top, you can safely truncate it
- yourself once the commit operation successfully completes.
- (json-string)
-- "speed": the maximum speed, in bytes per second (json-int, optional)
-
-
-Example:
-
--> { "execute": "block-commit", "arguments": { "device": "virtio0",
- "top": "/tmp/snap1.qcow2" } }
-<- { "return": {} }
-
drive-backup
------------