Re: [Qemu-devel] [PATCH 07/11] qcow2-threads: add encryption

2018-11-27 Thread Daniel P . Berrangé
On Fri, Nov 23, 2018 at 07:55:07PM +0300, Vladimir Sementsov-Ogievskiy wrote: > Add thread-based encrypt/decrypt. QCrypto don't support parallel > operations with one block, so we need QCryptoBlock for each thread. > +static int qcow2_crypto_blocks_open(BDRVQcow2State *s, > +

[Qemu-devel] [PATCH 07/11] qcow2-threads: add encryption

2018-11-23 Thread Vladimir Sementsov-Ogievskiy
Add thread-based encrypt/decrypt. QCrypto don't support parallel operations with one block, so we need QCryptoBlock for each thread. Signed-off-by: Vladimir Sementsov-Ogievskiy --- block/qcow2.h | 12 + block/qcow2-threads.c | 62 +++ block