docs/interop/qcow2.txt: fix description about "zlib" clusters
PATCH 1/1 docs/interop/qcow2.txt: fix description about "zlib" clusters
From: Akihiro Suda <[email protected]>
"zlib" clusters are actually raw deflate (RFC1951) clusters without zlib headers.
Signed-off-by Akihiro Suda <[email protected]>
--- docs/interop/qcow2.txt | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-)
docs/interop/qcow2.txt +7 -3
@@ -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 <https://www.zlib.net/> + 0: deflate <https://www.ietf.org/rfc/rfc1951.txt> 1: zstd <http://github.com/facebook/zstd> + The deflate compression type is called "zlib" + <https://www.zlib.net/> in QEMU. However, clusters with the + deflate compression type do not have zlib headers. + === Header padding ===
Signature · 1 line
2.38.4
Quoted 10 lines · ~akihirosuda
From: Akihiro Suda <[email protected]>
"zlib" clusters are actually raw deflate (RFC1951) clusters without zlib headers.
Signed-off-by Akihiro Suda <[email protected]>--- docs/interop/qcow2.txt | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-)
Seems like a useful clarification to me (there's a difference between the encoding name and the program used to create/parse that encoding).
Reviewed-by Eric Blake <[email protected]>
Quoted 30 lines
docs/interop/qcow2.txt +7
-3@@ -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 <https://www.zlib.net/> + 0: deflate <https://www.ietf.org/rfc/rfc1951.txt> 1: zstd <http://github.com/facebook/zstd> + The deflate compression type is called "zlib" + <https://www.zlib.net/> in QEMU. However, clusters with the + deflate compression type do not have zlib headers. + === Header padding ===Signature · 1 line
2.38.4
Signature · 3 lines
Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org
Kevin Wolf
AppliedAm 16.05.2023 um 16:32 hat ~akihirosuda geschrieben:
Quoted 6 lines
From: Akihiro Suda <[email protected]>
"zlib" clusters are actually raw deflate (RFC1951) clusters without zlib headers.
Signed-off-by Akihiro Suda <[email protected]>
Thanks, applied to the block branch.
Kevin