mirror of
https://github.com/clearlinux/kvmtool.git
synced 2026-08-30 13:51:03 +00:00
af68c51ae7
This patch adds the decompression operation when confirming the qcow or qcow2 image is compressed. This patch also divides the read cluster fucntion into two which are respective for qcow and qcow2 in order to be convenient to support these two kind images. Add some macros for qcow. Signed-off-by: Lan Tianyu <tianyu.lan@intel.com> [ penberg@kernel.org: make zlib optional ] Signed-off-by: Pekka Enberg <penberg@kernel.org>