On 02/07/2013 09:15 AM, Stefan Hajnoczi wrote: > Applies on kevin/block-next (2700d627e4d73bb2aacb832a93ffac8fec78b1fd). > > This series adds fragmentation info support to qcow2 and then adds compression > info. Previously only QED supported fragmentation info. Note that > fragmentation info only covers the current image, internal snapshots are not > included. > > The new BlockFragInfo.compressed field contains the number of compressed > clusters. qemu-img check now reports the percentage of compressed clusters > out > of all allocated clusters. This can be used to decide when to recompress an > image or to double-check that an image is indeed compressed. > > qemu-iotests was to handle the new qemu-img check output. > > I have tested qcow2 images both compressed and uncompressed. > > v3: > * Add space before '=' in qemu-img check output [kwolf] > * Count compressed clusters as fragmented, explained in comment [kwolf]
Series: Reviewed-by: Eric Blake <ebl...@redhat.com> -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature