[PATCH RFC] kvm tools: Add support for the read operation of qcow and qcow2 compressed image

2011-10-12 Thread Lan Tianyu
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.

Re: [PATCH RFC] kvm tools: Add support for the read operation of qcow and qcow2 compressed image

2011-10-12 Thread Pekka Enberg
On Wed, Oct 12, 2011 at 4:00 PM, Lan Tianyu tianyu@intel.com wrote: 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