Re: [Qemu-devel] [PATCH 07/10] block: convert quorum blockdrv to use crypto APIs

2015-06-01 Thread Daniel P. Berrange
On Fri, May 29, 2015 at 02:49:46PM +0800, Gonglei wrote: > On 2015/5/21 18:56, Daniel P. Berrange wrote: > > Get rid of direct use of gnutls APIs in quorum blockdrv in > > favour of using the crypto APIs. This avoids the need to > > do conditional compilation of the quorum driver. It can > > simply

Re: [Qemu-devel] [PATCH 07/10] block: convert quorum blockdrv to use crypto APIs

2015-05-28 Thread Gonglei
On 2015/5/21 18:56, Daniel P. Berrange wrote: > Get rid of direct use of gnutls APIs in quorum blockdrv in > favour of using the crypto APIs. This avoids the need to > do conditional compilation of the quorum driver. It can > simply report an error at file open file instead if the > required hash a

[Qemu-devel] [PATCH 07/10] block: convert quorum blockdrv to use crypto APIs

2015-05-21 Thread Daniel P. Berrange
Get rid of direct use of gnutls APIs in quorum blockdrv in favour of using the crypto APIs. This avoids the need to do conditional compilation of the quorum driver. It can simply report an error at file open file instead if the required hash algorithm isn't supported by QEMU. Signed-off-by: Daniel