[libvirt] [PATCH 12/20] Attach encryption information to virStorageVolDef.

Daniel P. Berrange berrange at redhat.com
Thu Aug 27 17:06:21 UTC 2009


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 :|




More information about the libvir-list mailing list