qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] encrypt in threads
@ 2018-11-21 17:30 Vladimir Sementsov-Ogievskiy
  2018-11-22 13:01 ` Vladimir Sementsov-Ogievskiy
  2018-11-27 16:05 ` Daniel P. Berrangé
  0 siblings, 2 replies; 8+ messages in thread
From: Vladimir Sementsov-Ogievskiy @ 2018-11-21 17:30 UTC (permalink / raw)
  To: Daniel P. Berrange; +Cc: qemu-devel, qemu block, Max Reitz, Kevin Wolf

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?

-- 
Best regards,
Vladimir

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-11-30 10:19 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-21 17:30 [Qemu-devel] encrypt in threads Vladimir Sementsov-Ogievskiy
2018-11-22 13:01 ` Vladimir Sementsov-Ogievskiy
2018-11-27 16:08   ` Daniel P. Berrangé
2018-11-29 18:28     ` Vladimir Sementsov-Ogievskiy
2018-11-30  9:48       ` Daniel P. Berrangé
2018-11-30 10:04         ` Vladimir Sementsov-Ogievskiy
2018-11-30 10:19           ` Daniel P. Berrangé
2018-11-27 16:05 ` Daniel P. Berrangé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).