X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;ds=sidebyside;f=sparsify%2Fvirt-sparsify.pod;h=0894cbc10dd56ec6cb472f3e4b569a7adf35fb97;hb=19e2f5aa4fd4ed70b505661d918b5575616ad441;hp=77467b61d04de165facce711f8fa22c178bd6888;hpb=342b4a55d056734a0344db8b4bcf1a90104a8a59;p=libguestfs.git diff --git a/sparsify/virt-sparsify.pod b/sparsify/virt-sparsify.pod index 77467b6..0894cbc 100644 --- a/sparsify/virt-sparsify.pod +++ b/sparsify/virt-sparsify.pod @@ -104,6 +104,11 @@ image. Display help. +=item B<--compress> + +Compress the output file. This I works if the output format is +C. + =item B<--convert> raw =item B<--convert> qcow2 @@ -121,6 +126,14 @@ eg. C, but support for other formats is reliant on qemu. Specifying the I<--convert> option is usually a good idea, because then virt-sparsify doesn't need to try to guess the input format. +For fine-tuning the output format, see: I<--compress>, I<-o>. + +=item B<--debug-gc> + +Debug garbage collection and memory allocation. This is only useful +when debugging memory problems in virt-sparsify or the OCaml libguestfs +bindings. + =item B<--format> raw =item B<--format> qcow2 @@ -149,6 +162,18 @@ This option is used to make the output more machine friendly when being parsed by other programs. See L below. +=item B<-o> option[,option,...] + +Pass I<-o> option(s) to the L command to fine-tune the +output format. Options available depend on the output format (see +I<--convert>) and the installed version of the qemu-img program. + +You should use I<-o> at most once. To pass multiple options, separate +them with commas, eg: + + virt-sparsify --convert qcow2 \ + -o cluster_size=512,preallocation=metadata ... + =item B<-q> =item B<--quiet>