qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] encrypt in threads


From: Vladimir Sementsov-Ogievskiy
Subject: Re: [Qemu-devel] encrypt in threads
Date: Thu, 22 Nov 2018 13:01:20 +0000

21.11.2018 20:30, Vladimir Sementsov-Ogievskiy wrote:
> Hi Daniel!
> 
> After moving compression to threads in Qcow2 it's an obvious next step to
> "threadyfy" encryption in Qcow2 too.
> 
> But it turned out to be not as simple as I assumed. If I call 
> qcrypto_block_encrypt
> in parallel threads with the same first argument (block), it just produce 
> wrong
> things (pattern verification fails in iotests)..
> 
> So, can you advise the way to parallelize encryption/decryption?
> 

Hmm, just creating QCryptoBlock per each thread helped. Is it correct thing to 
do?

-- 
Best regards,
Vladimir

reply via email to

[Prev in Thread] Current Thread [Next in Thread]