libvirt/tests/storagevolxml2argvdata
Pavel Hrdina 3e1d2c93a3 storage: add support for QCOW2 cluster_size option
The default value hard-coded in QEMU (64KiB) is not always the ideal.
Having a possibility to set the cluster_size by user may in specific
use-cases improve performance for QCOW2 images.

QEMU internally has some limits, the value has to be between 512B and
2048KiB and must by power of two, except when the image has Extended L2
Entries the minimal value has to be 16KiB.

Since qemu-img ensures the value is correct and the limit is not always
the same libvirt will not duplicate any of these checks as the error
message from qemu-img is good enough:

    Cluster size must be a power of two between 512 and 2048k

Resolves: https://gitlab.com/libvirt/libvirt/-/issues/154

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
2021-05-21 14:00:43 +02:00
..
iso-input.argv storagevolxml2argvtest: Use internal wrapping of command line arguments 2021-04-12 15:55:10 +02:00
iso.argv storagevolxml2argvtest: Use internal wrapping of command line arguments 2021-04-12 15:55:10 +02:00
logical-from-qcow2.argv storagevolxml2argvtest: Use internal wrapping of command line arguments 2021-04-12 15:55:10 +02:00
luks-cipher.argv storagevolxml2argvtest: Use internal wrapping of command line arguments 2021-04-12 15:55:10 +02:00
luks-convert-encrypt.argv storagevolxml2argvtest: Use internal wrapping of command line arguments 2021-04-12 15:55:10 +02:00
luks-convert-encrypt2fileqcow2.argv storagevolxml2argvtest: Use internal wrapping of command line arguments 2021-04-12 15:55:10 +02:00
luks-convert-encrypt2fileraw.argv storagevolxml2argvtest: Use internal wrapping of command line arguments 2021-04-12 15:55:10 +02:00
luks-convert-qcow2.argv storagevolxml2argvtest: Use internal wrapping of command line arguments 2021-04-12 15:55:10 +02:00
luks-convert.argv storagevolxml2argvtest: Use internal wrapping of command line arguments 2021-04-12 15:55:10 +02:00
luks.argv storagevolxml2argvtest: Use internal wrapping of command line arguments 2021-04-12 15:55:10 +02:00
qcow2-1.1.argv storagevolxml2argvtest: Use internal wrapping of command line arguments 2021-04-12 15:55:10 +02:00
qcow2-clusterSize.argv storage: add support for QCOW2 cluster_size option 2021-05-21 14:00:43 +02:00
qcow2-compat.argv storagevolxml2argvtest: Use internal wrapping of command line arguments 2021-04-12 15:55:10 +02:00
qcow2-from-logical-compat.argv storagevolxml2argvtest: Use internal wrapping of command line arguments 2021-04-12 15:55:10 +02:00
qcow2-lazy.argv storagevolxml2argvtest: Use internal wrapping of command line arguments 2021-04-12 15:55:10 +02:00
qcow2-luks-convert-encrypt.argv storagevolxml2argvtest: Use internal wrapping of command line arguments 2021-04-12 15:55:10 +02:00
qcow2-luks-convert-encrypt2fileqcow2.argv storagevolxml2argvtest: Use internal wrapping of command line arguments 2021-04-12 15:55:10 +02:00
qcow2-luks-convert-encrypt2fileraw.argv storagevolxml2argvtest: Use internal wrapping of command line arguments 2021-04-12 15:55:10 +02:00
qcow2-luks.argv storagevolxml2argvtest: Use internal wrapping of command line arguments 2021-04-12 15:55:10 +02:00
qcow2-nobacking-convert-prealloc-compat.argv storagevolxml2argvtest: Use internal wrapping of command line arguments 2021-04-12 15:55:10 +02:00
qcow2-nobacking-prealloc-compat.argv storagevolxml2argvtest: Use internal wrapping of command line arguments 2021-04-12 15:55:10 +02:00
qcow2-nocapacity-convert-prealloc.argv storagevolxml2argvtest: Use internal wrapping of command line arguments 2021-04-12 15:55:10 +02:00
qcow2-nocapacity.argv storagevolxml2argvtest: Use internal wrapping of command line arguments 2021-04-12 15:55:10 +02:00
qcow2-nocow-compat.argv storagevolxml2argvtest: Use internal wrapping of command line arguments 2021-04-12 15:55:10 +02:00
qcow2-nocow.argv storagevolxml2argvdata: Rewrap all output files 2021-02-16 12:25:30 +01:00
qcow2-zerocapacity.argv storagevolxml2argvtest: Use internal wrapping of command line arguments 2021-04-12 15:55:10 +02:00