mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
qemu-img: add support for rate limit in qemu-img commit
add support for rate limit in qemu-img commit. Signed-off-by: Zhengui <lizhengui@huawei.com> Message-Id: <1603205264-17424-2-git-send-email-lizhengui@huawei.com> Reviewed-by: Alberto Garcia <berto@igalia.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
d55450df99
commit
a0441b66e8
3 changed files with 14 additions and 5 deletions
|
@ -349,7 +349,7 @@ Command description:
|
|||
state after (the attempt at) repairing it. That is, a successful ``-r all``
|
||||
will yield the exit code 0, independently of the image state before.
|
||||
|
||||
.. option:: commit [--object OBJECTDEF] [--image-opts] [-q] [-f FMT] [-t CACHE] [-b BASE] [-d] [-p] FILENAME
|
||||
.. option:: commit [--object OBJECTDEF] [--image-opts] [-q] [-f FMT] [-t CACHE] [-b BASE] [-r RATE_LIMIT] [-d] [-p] FILENAME
|
||||
|
||||
Commit the changes recorded in *FILENAME* in its base image or backing file.
|
||||
If the backing file is smaller than the snapshot, then the backing file will be
|
||||
|
@ -371,6 +371,8 @@ Command description:
|
|||
garbage data when read. For this reason, ``-b`` implies ``-d`` (so that
|
||||
the top image stays valid).
|
||||
|
||||
The rate limit for the commit process is specified by ``-r``.
|
||||
|
||||
.. option:: compare [--object OBJECTDEF] [--image-opts] [-f FMT] [-F FMT] [-T SRC_CACHE] [-p] [-q] [-s] [-U] FILENAME1 FILENAME2
|
||||
|
||||
Check if two images have the same content. You can compare images with
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue