mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
Add compressed_qcow_tempfile() which creates a zlib compressed QCOW2 image by populating a RAW tempfile with data and converting it via qemu-img convert -c. Every cluster in the resulting image is stored compressed so reads exercise the decompression path. To be used by the compressed read benchmark. Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>