schema: bhyve and nmdm updates

* docs/schemas/domaincommon.rng: Add bhyve domain type, nmdm
  serial type and master and slave optional attributes for
  serial that are used by nmdm
* tests/domainschematest: Add bhyvexml2argvdata directory
  to validate bhyve XMLs
This commit is contained in:
Roman Bogorodskiy 2014-07-25 20:43:49 +04:00
parent 71ee25f562
commit 1281f4a100
2 changed files with 10 additions and 1 deletions

View File

@ -201,6 +201,7 @@
<value>vbox</value> <value>vbox</value>
<value>phyp</value> <value>phyp</value>
<value>parallels</value> <value>parallels</value>
<value>bhyve</value>
</choice> </choice>
</attribute> </attribute>
</define> </define>
@ -3010,6 +3011,7 @@
<value>pty</value> <value>pty</value>
<value>spicevmc</value> <value>spicevmc</value>
<value>spiceport</value> <value>spiceport</value>
<value>nmdm</value>
</choice> </choice>
</define> </define>
@ -3082,6 +3084,12 @@
<optional> <optional>
<attribute name="channel"/> <attribute name="channel"/>
</optional> </optional>
<optional>
<attribute name="master"/>
</optional>
<optional>
<attribute name="slave"/>
</optional>
<optional> <optional>
<ref name='devSeclabel'/> <ref name='devSeclabel'/>
</optional> </optional>

View File

@ -8,6 +8,7 @@ DIRS=""
DIRS="$DIRS domainschemadata qemuxml2argvdata sexpr2xmldata" DIRS="$DIRS domainschemadata qemuxml2argvdata sexpr2xmldata"
DIRS="$DIRS xmconfigdata xml2sexprdata qemuxml2xmloutdata" DIRS="$DIRS xmconfigdata xml2sexprdata qemuxml2xmloutdata"
DIRS="$DIRS lxcxml2xmldata lxcxml2xmloutdata" DIRS="$DIRS lxcxml2xmldata lxcxml2xmloutdata"
DIRS="$DIRS bhyvexml2argvdata"
SCHEMA="domain.rng" SCHEMA="domain.rng"
check_schema "$DIRS" "$SCHEMA" check_schema "$DIRS" "$SCHEMA"