libvirt/tests/storagevolschemadata
Miloslav Trmač eda3af2488 Attach encryption information to virStorageVolDef.
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, docs/formatstorage.html.in: Document
  storage volume encryption options
* src/storage_conf.c, src/storage_conf.h: Hook up storage
  encryption XML handling
* tests/storagevolschemadata/vol-qcow2.xml: Test case for encryption
  schema changes
2009-09-01 18:27:38 +01:00
..
vol-logical.xml remove all trailing blank lines 2009-07-16 15:06:42 +02:00
vol-partition.xml Added complete set of RNG schemas for all XML formats 2009-01-27 15:29:53 +00:00
vol-qcow2.xml Attach encryption information to virStorageVolDef. 2009-09-01 18:27:38 +01:00