On Thu, Aug 20, 2009 at 08:18:10PM +0200, Miloslav Trma?? wrote:
The XML allows <encryption format='unencrypted'/>, this
implementation
canonicalizes the internal representation so that "vol->encryption" is
non-NULL iff the volume is encrypted.
Note that partial encryption information (e.g. specifying an encryption
format, but not the key/passphrase) is valid, libvirt will automatically
choose value for the missing information during volume creation. The
user can read the volume XML, and use the unmodified <encryption> tag in
future operations (without having to be able to understand) its contents.
---
docs/formatstorage.html | 6 ++++++
docs/formatstorage.html.in | 8 ++++++++
docs/schemas/storagevol.rng | 5 +++++
src/storage_conf.c | 15 +++++++++++++++
src/storage_conf.h | 3 +++
tests/storagevolschemadata/vol-qcow2.xml | 3 +++
6 files changed, 40 insertions(+), 0 deletions(-)
ACK
Daniel
--
|: Red Hat, Engineering, London -o-
http://people.redhat.com/berrange/ :|
|:
http://libvirt.org -o-
http://virt-manager.org -o-
http://ovirt.org :|
|:
http://autobuild.org -o-
http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|