]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Add volume encryption information handling.
authorMiloslav Trmač <mitr@redhat.com>
Wed, 19 Aug 2009 19:50:10 +0000 (21:50 +0200)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 1 Sep 2009 17:27:28 +0000 (18:27 +0100)
commit05b9b8fda36576be2af9e1fec0a93f9a0f06e5cd
tree5a67715ca7bfb2a2656a8035c1d306b71c694566
parent9dc3b99345f8dc6ca120a48c49a478392a5f09d0
Add volume encryption information handling.

Define an <encryption> tag specifying volume encryption format and
format-depenedent parameters (e.g. passphrase, cipher name, key
length, key).

Currently the only defined parameter is a reference to a "secret"
(passphrase/key) managed using the virSecret* API.

Only the qcow/qcow2 encryption format, and a "default" format used to
let libvirt choose the format during volume creation, is currently
supported.

This patch does not add any users; the <encryption> tag is added in
the following patches to both volumes (to support encrypted volume
creation) and domains.

* docs/*.html: Re-generate
* docs/formatstorageencryption.html.in, docs/sitemap.html.in:
  Add page describing storage encryption data format
* docs/schemas/Makefile.am, docs/schemas/storageencryption.rng:
  Add RNG schema for storage encryption format
* po/POTFILES.in: Add src/storage_encryption_conf.c
* src/libvirt_private.syms: Export virStorageEncryption* functions
* src/storage_encryption_conf.h, src/storage_encryption_conf.c: Internal
  helper APIs for dealing with storage encryption format
* libvirt.spec.in, mingw32-libvirt.spec.in: Add storageencryption.rng
  RNG schema
20 files changed:
docs/format.html
docs/formatcaps.html
docs/formatdomain.html
docs/formatnetwork.html
docs/formatnode.html
docs/formatsecret.html
docs/formatstorage.html
docs/formatstorageencryption.html [new file with mode: 0644]
docs/formatstorageencryption.html.in [new file with mode: 0644]
docs/schemas/Makefile.am
docs/schemas/storageencryption.rng [new file with mode: 0644]
docs/sitemap.html
docs/sitemap.html.in
libvirt.spec.in
mingw32-libvirt.spec.in
po/POTFILES.in
src/Makefile.am
src/libvirt_private.syms
src/storage_encryption_conf.c [new file with mode: 0644]
src/storage_encryption_conf.h [new file with mode: 0644]