From: Akihiro Suda Date: Tue, 16 May 2023 14:32:27 +0000 (+0900) Subject: docs/interop/qcow2.txt: fix description about "zlib" clusters X-Git-Tag: v8.1.0-rc0~108^2~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=41f8b633393021923fd555d8d94bded2f8f6f05d;p=thirdparty%2Fqemu.git docs/interop/qcow2.txt: fix description about "zlib" clusters "zlib" clusters are actually raw deflate (RFC1951) clusters without zlib headers. Signed-off-by: Akihiro Suda Message-Id: <168424874322.11954.1340942046351859521-0@git.sr.ht> Reviewed-by: Eric Blake Reviewed-by: Kevin Wolf Signed-off-by: Kevin Wolf --- diff --git a/docs/interop/qcow2.txt b/docs/interop/qcow2.txt index f7dc304ff69..e7f036c286b 100644 --- a/docs/interop/qcow2.txt +++ b/docs/interop/qcow2.txt @@ -214,14 +214,18 @@ version 2. type. If the incompatible bit "Compression type" is set: the field - must be present and non-zero (which means non-zlib + must be present and non-zero (which means non-deflate compression type). Otherwise, this field must not be present - or must be zero (which means zlib). + or must be zero (which means deflate). Available compression type values: - 0: zlib + 0: deflate 1: zstd + The deflate compression type is called "zlib" + in QEMU. However, clusters with the + deflate compression type do not have zlib headers. + === Header padding ===