From: "Daniel P. Berrange" <berrange@redhat.com>
To: "Hamilton, Peter A." <Peter.Hamilton@jhuapl.edu>
Cc: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] qemu-img create encryption
Date: Thu, 27 Jun 2013 13:57:43 +0100 [thread overview]
Message-ID: <20130627125743.GJ2621@redhat.com> (raw)
In-Reply-To: <EE1A64E628992240A94E2B625745F01674FD425E04@aplesstripe.dom1.jhuapl.edu>
On Thu, Jun 27, 2013 at 08:05:38AM -0400, Hamilton, Peter A. wrote:
> > It also means you can't change the password of an existing image - you have
> > to create a new image with a new password & re-encrypt the data.
>
> Following up on this point, since "qemu-img create" cannot be used to specify
> a password, is "qemu-img convert" the only command that can be used to provide
Any command which actually reads/writes data will take a password. So, yes,
I'd expect 'convert' to ask for one.
> one? Furthermore, since "convert" conducts a full copy of the source image,
> does this mean that it is not possible to have an encrypted CoW image with an
> encrypted backing file, where each is encrypted with a different password? The
> tests I have conducted up to this point seem to indicate that this is true.
I'm honestly not too sure about the status of encryption wrt backing stores.
I wouldn't surprise me if you needed to use the same password for both the
top & lower level backing files. Equally though, there's no technical reason
why this should be required - just an impl limitation, if true.
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
prev parent reply other threads:[~2013-06-27 12:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-26 18:52 [Qemu-devel] qemu-img create encryption Hamilton, Peter A.
2013-06-27 7:27 ` Markus Armbruster
2013-06-27 9:36 ` Daniel P. Berrange
2013-06-27 12:05 ` Hamilton, Peter A.
2013-06-27 12:57 ` Daniel P. Berrange [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=20130627125743.GJ2621@redhat.com \
--to=berrange@redhat.com \
--cc=Peter.Hamilton@jhuapl.edu \
--cc=qemu-devel@nongnu.org \
/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 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).