X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=sparsify%2Fvirt-sparsify.pod;h=6653787a4bbaff7199664a6cc90b5997384387e6;hb=c55bad93fbde03a3daa6058913f02098c45e55f5;hp=fc7fde1fb5b528d7c2a0bf4e2067e43995ecb5f4;hpb=b3f61a9db39a639b7e462581cb5e177c778de354;p=libguestfs.git diff --git a/sparsify/virt-sparsify.pod b/sparsify/virt-sparsify.pod index fc7fde1..6653787 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 @@ -113,15 +118,16 @@ Display help. Use C as the format for the destination image. If this is not specified, then the input format is used. -Supported and known-working output formats are: C, C. +Supported and known-working output formats are: C, C, C. You can also use any format supported by the L program, -eg. C or C, but support for other formats is reliant on -qemu. +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<--format> raw =item B<--format> qcow2 @@ -150,6 +156,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> @@ -281,4 +299,4 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.