]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Attach encryption information to virDomainDiskDef.
authorMiloslav Trmač <mitr@redhat.com>
Tue, 21 Jul 2009 05:23:03 +0000 (07:23 +0200)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 1 Sep 2009 17:36:53 +0000 (18:36 +0100)
commitf340964dc9b81ea0ff0f4f315afe070b47fb1d87
treea381fb283bcd11babc7c11a4eb5db65232dd2c73
parent46acb0f2b75ebacfd6656fe30fd134944980c1f2
Attach encryption information to virDomainDiskDef.

The XML allows <encryption format='unencrypted'/>, this implementation
canonicalizes the internal representation so that "disk->encryption" is
non-NULL iff encryption information is available.

A domain with partial encryption information can be defined,
completeness of the information is not verified.  The domain won't
start until the remaining information is added, of course.

* docs/formatdomain.html, docs/formatdomain.html.in: Document
  new encryption options for disks
* docs/schemas/domain.rng: Pull in storage encryption schema
  rules
* src/domain_conf.h, src/domain_conf.c: Wire up storage encryption
  XML parsing/formatting APIs
docs/formatdomain.html
docs/formatdomain.html.in
docs/schemas/domain.rng
src/domain_conf.c
src/domain_conf.h