From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.saout.de ([127.0.0.1]) by localhost (mail.saout.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aHBsvCEY_Sjn for ; Wed, 24 Jul 2013 17:13:48 +0200 (CEST) Received: from paradis.irqsave.net (nodalink.pck.nerim.net [62.212.105.220]) by mail.saout.de (Postfix) with ESMTP for ; Wed, 24 Jul 2013 17:13:48 +0200 (CEST) Received: from irqsave.net (unknown [192.168.77.1]) by paradis.irqsave.net (Postfix) with ESMTP id 82BD3874669 for ; Wed, 24 Jul 2013 17:07:20 +0200 (CEST) Date: Wed, 24 Jul 2013 17:09:10 +0200 From: =?iso-8859-1?Q?Beno=EEt?= Canet Message-ID: <20130724150910.GC5115@irqsave.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Subject: [dm-crypt] cryptsetup alternate storage backend List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de Hello, I am a QEMU block developper. Since this thread : "https://lists.gnu.org/archive/html/qemu-devel/2013-07/= msg03902.html" I am wondering if QEMU could reuse libcryptsetup implementation of LUKS to improve QCOW2's cryptography. QEMU have it's own block layer and APIs so how hard would it be to make libcryptsetup read and write the luks headers and slots into some buffers o= r how hard would it be to write an abstration to access the QEMU block layer ? (I did not find an obvious answer to these questions by having a glance at = the code.) Best regards Beno=EEt