Skip to content
This repository has been archived by the owner on Apr 13, 2019. It is now read-only.

Commit

Permalink
qemu-img: Document copy offloading implications with -S and -c
Browse files Browse the repository at this point in the history
Explicitly enabling zero detection or compression suppresses copy
offloading during convert. Document it.

Suggested-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
  • Loading branch information
Fam Zheng authored and kevmw committed Jul 12, 2018
1 parent 2f9d408 commit eb46148
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions qemu-img.texi
Expand Up @@ -96,7 +96,8 @@ will enumerate information about backing files in a disk image chain. Refer
below for further description.

@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
with or without a command shows help and lists the supported formats
Expand All @@ -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
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
@code{k} for kilobytes.
@code{k} for kilobytes. If this option is used, copy offloading will not be
attempted.

@item -t @var{cache}
specifies the cache mode that should be used with the (destination) file. See
Expand Down

0 comments on commit eb46148

Please sign in to comment.