Received: from eggs.gnu.org ([2001:4830:134:3::10]:33733) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bK2I3-0003zG-Ov for qemu-devel@nongnu.org; Mon, 04 Jul 2016 07:43:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bK2I0-0004HT-JH for qemu-devel@nongnu.org; Mon, 04 Jul 2016 07:43:51 -0400 From: Alberto Garcia In-Reply-To: References: <20160628014747.20971-1-famz@redhat.com> Date: Mon, 04 Jul 2016 13:43:01 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH] quorum: Only compile when supported List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Reitz , Fam Zheng , qemu-devel@nongnu.org Cc: Kevin Wolf , qemu-block@nongnu.org On Sat 02 Jul 2016 02:36:38 PM CEST, Max Reitz wrote: >> This was the only exceptional module init function that does >> something else than a simple list of bdrv_register() calls, in all >> the block drivers. > > This sounds like this patch specifically wants to drop the check from > bdrv_quorum_init(). > > I think keeping the check would be better; while we can probably > assume that SHA256 is supported if CONFIG_GNUTLS_HASH is defined, it > would still technically be better to actually check for that support. Right, but SHA256 was added to GNUTLS almost 10 years ago, so I don't think that adding such check has any practical effect. Berto