Creating and converting QEMU qcow2 images
Published (last updated )
qemu-img create -f qcow2 -o preallocation=metadata,compression_type=zstd,encryption=off,cluster_size=2M,lazy_refcounts=on foo.qcow2 128G
qemu-img convert -f qcow2 -O qcow2 -o preallocation=metadata,compression_type=zstd,encryption=off,cluster_size=2M,lazy_refcounts=on in.qcow2 out.qcow2