提交 eb461485 编写于 作者: F Fam Zheng 提交者: Kevin Wolf

qemu-img: Document copy offloading implications with -S and -c

Explicitly enabling zero detection or compression suppresses copy
offloading during convert. Document it.
Suggested-by: NKevin Wolf <kwolf@redhat.com>
Signed-off-by: NFam Zheng <famz@redhat.com>
Reviewed-by: NStefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: NKevin Wolf <kwolf@redhat.com>
上级 2f9d4083
...@@ -96,7 +96,8 @@ will enumerate information about backing files in a disk image chain. Refer ...@@ -96,7 +96,8 @@ will enumerate information about backing files in a disk image chain. Refer
below for further description. below for further description.
@item -c @item -c
indicates that target image must be compressed (qcow format only) indicates that target image must be compressed (qcow format only). If this
option is used, copy offloading will not be attempted.
@item -h @item -h
with or without a command shows help and lists the supported formats with or without a command shows help and lists the supported formats
...@@ -115,7 +116,8 @@ in case both @var{-q} and @var{-p} options are used. ...@@ -115,7 +116,8 @@ in case both @var{-q} and @var{-p} options are used.
indicates the consecutive number of bytes that must contain only zeros indicates the consecutive number of bytes that must contain only zeros
for qemu-img to create a sparse image during conversion. This value is rounded for qemu-img to create a sparse image during conversion. This value is rounded
down to the nearest 512 bytes. You may use the common size suffixes like down to the nearest 512 bytes. You may use the common size suffixes like
@code{k} for kilobytes. @code{k} for kilobytes. If this option is used, copy offloading will not be
attempted.
@item -t @var{cache} @item -t @var{cache}
specifies the cache mode that should be used with the (destination) file. See specifies the cache mode that should be used with the (destination) file. See
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册