From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41536) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKNvi-0006ge-Gr for qemu-devel@nongnu.org; Tue, 05 Jul 2016 06:50:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bKNvg-0003iV-OW for qemu-devel@nongnu.org; Tue, 05 Jul 2016 06:50:13 -0400 From: "Daniel P. Berrange" Date: Tue, 5 Jul 2016 11:49:58 +0100 Message-Id: <1467715800-20379-1-git-send-email-berrange@redhat.com> Subject: [Qemu-devel] [PATCH v1 0/2] Use GChecksum as fallback hash impl List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-block@nongnu.org, Alberto Garcia , Kevin Wolf , Fam Zheng , Max Reitz , "Daniel P. Berrange" This uses the GChecksum APIs as final hash impl, instead of a no-op stub. This lets us remove conditional registration of the quorum driver. Daniel P. Berrange (2): crypto: use glib as fallback for hash algorithm Revert "block: don't register quorum driver if SHA256 support is unavailable" block/quorum.c | 10 +++--- crypto/Makefile.objs | 2 +- crypto/hash-glib.c | 94 ++++++++++++++++++++++++++++++++++++++++++++++++++++ crypto/hash-stub.c | 41 ----------------------- 4 files changed, 101 insertions(+), 46 deletions(-) create mode 100644 crypto/hash-glib.c delete mode 100644 crypto/hash-stub.c -- 2.7.4