All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Benoît Canet" <benoit.canet@irqsave.net>
To: Milan Broz <gmazyland@gmail.com>
Cc: "Benoît Canet" <benoit.canet@irqsave.net>, dm-crypt@saout.de
Subject: Re: [dm-crypt] cryptsetup alternate storage backend
Date: Mon, 29 Jul 2013 18:02:12 +0200	[thread overview]
Message-ID: <20130729160212.GA4550@irqsave.net> (raw)
In-Reply-To: <51F56388.9060007@gmail.com>


Hello,

We have some work to tackle before being able to implement dm-crypt in QEMU.
But it would like the following.

> Do you have some better specification what do you need from libcryptsetup?
I was thinking of a way to give libcryptsetup a structure containing some files
operation which would be implemented by QEMU.

something like
struct crypt_fops {
    .read
    .write
    .open
    .close
    .wipe
    .sync
}

The call would look like
cryptsetup_register_fops(struct crypt_fops *f);

This way other potentials users of libcryptsetup could implement their own fops
and link against it.

> And do you need this code to be portable to other OS environment as well, correct?
Yes QEMU is cross platform.

Best regards

Benoît

      reply	other threads:[~2013-07-29 16:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-24 15:09 [dm-crypt] cryptsetup alternate storage backend Benoît Canet
2013-07-28 18:31 ` Milan Broz
2013-07-29 16:02   ` Benoît Canet [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130729160212.GA4550@irqsave.net \
    --to=benoit.canet@irqsave.net \
    --cc=dm-crypt@saout.de \
    --cc=gmazyland@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.