mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
When writing the header after a resize the compression type field was always set to 0, which selects zlib, even when the image was originally created with zstd. The resized image would then no longer be usable. Write the actual configured compression type instead. Fixes: #8558 Assisted-by: Claude:Opus-4.8 Signed-off-by: Rob Bradford <rbradford@meta.com>