]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: move storage formats to common RNG file
authorEric Blake <eblake@redhat.com>
Mon, 14 Apr 2014 22:54:13 +0000 (16:54 -0600)
committerJiri Denemark <jdenemar@redhat.com>
Tue, 15 Apr 2014 11:15:11 +0000 (13:15 +0200)
commit4f596a070d7e5cb52d7908a03b414617f81fc517
tree54021b61e61ce401b559a4f138e4eb0ca0d0b381
parenta9efe2d70cd43a5c60163a1873a7adc146e9efaf
conf: move storage formats to common RNG file

We had incomplete RelaxNG support for storage formats listed
in virstoragefile.h: commit 027bf2e added 'vdi' but forgot
to update the <volume> and <domain> xml lists; the <volume>
list was also missing 'fat' and 'vhd'.  Maintaining two lists
is a recipe for them getting out of sync, so make the list
common so that both contexts benefit the next time we add a
format in a single location.

* docs/schemas/domaincommon.rng (storageFormat): Move...
* docs/schemas/storagecommon.rng: ...here, and add vdi.
* docs/schemas/storagevol.rng (formatfile): Use common list.

Signed-off-by: Eric Blake <eblake@redhat.com>
docs/schemas/domaincommon.rng
docs/schemas/storagecommon.rng
docs/schemas/storagevol.rng