[virt-tools-list] Enabling qcow2 compression with virt-install

Richard W.M. Jones rjones at redhat.com
Fri Aug 24 17:27:53 UTC 2012


On Fri, Aug 24, 2012 at 07:36:21AM +0100, Paul Maunders wrote:
> Hi all,
> 
> Is it possible to enable qcow2 compression when using virt-install to
> create a new image as part of a new virtual machine?
> 
> I've searched the manual and online, but can't find any info on this.

IIRC if you create the target disk yourself (using 'qemu-img create')
and point virt-install at the disk (--disk path=foo.qcow2,format=qcow2)
then it should work.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://libguestfs.org




More information about the virt-tools-list mailing list