diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2011-11-22 10:11:10 +0000 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2011-11-22 10:11:10 +0000 |
commit | ce6c4eeabe3f2ce96d11d6d55c3ac6aca542d4c8 (patch) | |
tree | 9c1b9270d04cfa3a36c5b27d023997ef9f9454fa /sparsify/virt-sparsify.pod | |
parent | b83b705959c3c93bff0c343bcad09305399895a5 (diff) | |
download | libguestfs-ce6c4eeabe3f2ce96d11d6d55c3ac6aca542d4c8.tar.gz libguestfs-ce6c4eeabe3f2ce96d11d6d55c3ac6aca542d4c8.tar.xz libguestfs-ce6c4eeabe3f2ce96d11d6d55c3ac6aca542d4c8.zip |
sparsify: Add -o option for passing qemu-img output format options.
Diffstat (limited to 'sparsify/virt-sparsify.pod')
-rw-r--r-- | sparsify/virt-sparsify.pod | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/sparsify/virt-sparsify.pod b/sparsify/virt-sparsify.pod index d25f013f..6653787a 100644 --- a/sparsify/virt-sparsify.pod +++ b/sparsify/virt-sparsify.pod @@ -126,7 +126,7 @@ eg. C<vmdk>, 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>. +For fine-tuning the output format, see: I<--compress>, I<-o>. =item B<--format> raw @@ -156,6 +156,18 @@ This option is used to make the output more machine friendly when being parsed by other programs. See L</MACHINE READABLE OUTPUT> below. +=item B<-o> option[,option,...] + +Pass I<-o> option(s) to the L<qemu-img(1)> 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> |