From: Eric Blake Date: Mon, 14 Apr 2014 22:54:13 +0000 (-0600) Subject: conf: move storage formats to common RNG file X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=4f596a070d7e5cb52d7908a03b414617f81fc517;p=people%2Fliuw%2Flibxenctrl-split%2Flibvirt.git 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 and xml lists; the 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 --- diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng index 7fc0cfffc..59f3fdd52 100644 --- a/docs/schemas/domaincommon.rng +++ b/docs/schemas/domaincommon.rng @@ -1500,24 +1500,7 @@ - - - raw - dir - bochs - cloop - cow - dmg - iso - qcow - qcow2 - qed - vmdk - vpc - fat - vhd - - + diff --git a/docs/schemas/storagecommon.rng b/docs/schemas/storagecommon.rng index 54cf6b425..37b43c64d 100644 --- a/docs/schemas/storagecommon.rng +++ b/docs/schemas/storagecommon.rng @@ -52,4 +52,24 @@ + + + raw + dir + bochs + cloop + cow + dmg + iso + qcow + qcow2 + qed + vmdk + vpc + fat + vhd + vdi + + + diff --git a/docs/schemas/storagevol.rng b/docs/schemas/storagevol.rng index df8c1eb7a..3798476f0 100644 --- a/docs/schemas/storagevol.rng +++ b/docs/schemas/storagevol.rng @@ -212,18 +212,7 @@ unknown - raw - dir - bochs - cloop - cow - dmg - iso - qcow - qcow2 - qed - vmdk - vpc +