libvirt/src/storage
Pavel Hrdina 81a3042a12 storage_util: fix qemu-img sparse allocation
Commit <c9ec7088c7a3f4cd26bb471f1f243931fff6f4f9> introduced a support
to fully allocate qcow2 images when <allocation> matches <capacity> but
it doesn't work as expected.

The issue is that info.size_arg is in KB but the info.allocation
introduced by the mentioned commit is in B. This results in using
"preallocation=falloc," in cases where "preallocation=metadata," should
be used.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2020-08-25 16:53:13 +02:00
..
meson.build
parthelper.c util: Move virIsDevMapperDevice() to virdevmapper.c 2020-06-15 14:50:46 +02:00
storage_backend_disk.c
storage_backend_disk.h
storage_backend_fs.c
storage_backend_fs.h
storage_backend_gluster.c
storage_backend_gluster.h
storage_backend_iscsi_direct.c
storage_backend_iscsi_direct.h
storage_backend_iscsi.c
storage_backend_iscsi.h
storage_backend_logical.c
storage_backend_logical.h src/storage: use #pragma once in headers 2019-06-19 17:12:31 +02:00
storage_backend_mpath.c
storage_backend_mpath.h
storage_backend_rbd.c
storage_backend_rbd.h
storage_backend_scsi.c
storage_backend_scsi.h
storage_backend_sheepdog_priv.h
storage_backend_sheepdog.c Use g_strfeev instead of virStringFreeList 2020-08-03 15:37:36 +02:00
storage_backend_sheepdog.h
storage_backend_vstorage.c
storage_backend_vstorage.h
storage_backend_zfs.c
storage_backend_zfs.h
storage_backend.c
storage_backend.h src/storage: use #pragma once in headers 2019-06-19 17:12:31 +02:00
storage_driver.c
storage_driver.h
storage_file_fs.c
storage_file_fs.h
storage_file_gluster.c
storage_file_gluster.h
storage_util.c storage_util: fix qemu-img sparse allocation 2020-08-25 16:53:13 +02:00
storage_util.h
virtstoraged.init.in
virtstoraged.service.in
virtstoraged.sysconf