On Tue, May 17, 2016 at 05:15:57PM +0300, Yaniv Kaul wrote:
When creating qcow2 images using virt-builder, is there a way to
specify
the qcow2 preallocation, as possible with qemu-img create -o
preallocation=metada , for example?
No .. but .. it does default to preallocation=metadata provided that
the output format is qcow2:
https://github.com/libguestfs/libguestfs/blob/master/builder/builder.ml#L...
https://github.com/libguestfs/libguestfs/blob/master/src/create.c#L281-L295
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine. Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/