See the documentation of the emulator's "-drive cache=." option for t cache specifies the cache mode that should be used with the (destination) file. You may use the common size suffixes like "k" for kilobytes. S size indicates the consecutive number of bytes that must contain only zeros for qemu-img to create a sparse image during conversion. With or without a command shows help and lists the supported formatsĭisplay progress bar (convert and rebase commands only) Indicates that target image must be compressed (qcow format only) Or see the format descriptions below for details. Use "-o ?" for an overview of the options supported by the used format Output_fmt is the destination format options is a comma separated list of format specific options in a name=value format. Output_filename is the destination disk image filename Optional suffixes "k" or "K" (kilobyte, 1024) "M" (megabyte, 1024k) and "G" (gigabyte,ġ024M) and T (terabyte, 1024G) are supported. See below for a description of the supported disk formats. It is guessed automatically in most cases. Usage: qemu-img command Ĭheck filename create filename commit filename convert filename ] output_filename info filename snapshot filename rebase -b backing_file filename resize filename size Command parameters: