Skip to content
Commit af68c51a authored by Lan Tianyu's avatar Lan Tianyu Committed by Will Deacon
Browse files

kvm tools: Add support for the read operation of qcow and qcow2 compressed image



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: default avatarLan Tianyu <tianyu.lan@intel.com>
[ penberg@kernel.org: make zlib optional ]
Signed-off-by: default avatarPekka Enberg <penberg@kernel.org>
parent f7054059
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment