[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC V6 09/33] qcow2: Implement qcow2_compute_cluster_h
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [RFC V6 09/33] qcow2: Implement qcow2_compute_cluster_hash. |
Date: |
Thu, 7 Feb 2013 10:00:24 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Wed, Feb 06, 2013 at 01:31:42PM +0100, Benoît Canet wrote:
> diff --git a/configure b/configure
> index 0657b1a..389f8aa 100755
> --- a/configure
> +++ b/configure
> @@ -1749,6 +1749,28 @@ EOF
> fi
>
> ##########################################
> +# QCOW Deduplication gnutls detection
> +cat > $TMPC <<EOF
> +#include <gnutls/gnutls.h>
> +#include <gnutls/crypto.h>
> +int main(void) {char data[4096], digest[32];
> +gnutls_hash_fast(GNUTLS_DIG_SHA256, data, 4096, digest);
> +return 0;
> +}
> +EOF
> +qcow_tls_cflags=`$pkg_config --cflags gnutls 2> /dev/null`
> +qcow_tls_libs=`$pkg_config --libs gnutls 2> /dev/null`
> +if compile_prog "$qcow_tls_cflags" "$qcow_tls_libs" ; then
> + qcow_tls=yes
> + libs_softmmu="$qcow_tls_libs $libs_softmmu"
> + libs_tools="$qcow_tls_libs $libs_softmmu"
> + QEMU_CFLAGS="$QEMU_CFLAGS $qcow_tls_cflags"
> +else
> + echo "gnutls > 2.10.0 required to compile QEMU"
> + exit 1
> +fi
> +
> +##########################################
> # VNC SASL detection
> if test "$vnc" = "yes" -a "$vnc_sasl" != "no" ; then
> cat > $TMPC <<EOF
VNC already depends on gnutls. Can the gnultls probe be reused? No
point probing twice, once for dedup and once for vnc.
Stefan
- [Qemu-devel] [RFC V6 26/33] qcow2: Add verification of dedup table., (continued)
- [Qemu-devel] [RFC V6 26/33] qcow2: Add verification of dedup table., Benoît Canet, 2013/02/06
- [Qemu-devel] [RFC V6 23/33] qcow2: Add qcow2_dedup_is_running to probe if dedup is running., Benoît Canet, 2013/02/06
- [Qemu-devel] [RFC V6 24/33] qcow2: Integrate deduplication in qcow2_co_writev loop., Benoît Canet, 2013/02/06
- [Qemu-devel] [RFC V6 14/33] qcow2: Create qcow2_is_cluster_to_dedup., Benoît Canet, 2013/02/06
- [Qemu-devel] [RFC V6 28/33] qcow2: Add check_dedup_l2 in order to check l2 of dedup table., Benoît Canet, 2013/02/06
- [Qemu-devel] [RFC V6 09/33] qcow2: Implement qcow2_compute_cluster_hash., Benoît Canet, 2013/02/06
- Re: [Qemu-devel] [RFC V6 09/33] qcow2: Implement qcow2_compute_cluster_hash.,
Stefan Hajnoczi <=
- [Qemu-devel] [RFC V6 10/33] qcow2: Extract qcow2_dedup_grow_table, Benoît Canet, 2013/02/06
- Re: [Qemu-devel] [RFC V6 00/33] QCOW2 deduplication core functionality, Stefan Hajnoczi, 2013/02/08