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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 12, 2011 at 4:00 PM, Lan Tianyu <tianyu.lan@xxxxxxxxx> 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
> convenient to support these two kind images. Add some macros for qcow.
>
> Signed-off-by: Lan Tianyu <tianyu.lan@xxxxxxxxx>

Nice! I tested it with Debian QCOW2 images and it works great!

> diff --git a/tools/kvm/Makefile b/tools/kvm/Makefile
> index fef624d..0d0da4b 100644
> --- a/tools/kvm/Makefile
> +++ b/tools/kvm/Makefile
> @@ -116,6 +116,7 @@ OBJS        += bios/bios-rom.o
>  LIBS   += -lrt
>  LIBS   += -lpthread
>  LIBS   += -lutil
> +LIBS   += -lz

Can you please make this optional like we do with SDL and vncserver?
Look for 'try-cc' in tools/kvm/Makefile.

                         Pekka
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux