From 4f596a070d7e5cb52d7908a03b414617f81fc517 Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Mon, 14 Apr 2014 16:54:13 -0600 Subject: [PATCH] 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 --- docs/schemas/domaincommon.rng | 19 +------------------ docs/schemas/storagecommon.rng | 20 ++++++++++++++++++++ docs/schemas/storagevol.rng | 13 +------------ 3 files changed, 22 insertions(+), 30 deletions(-) diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng index 7fc0cfffcb..59f3fdd525 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 54cf6b4254..37b43c64dd 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 df8c1eb7a5..3798476f03 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 +