* 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 --- docs/schemas/domaincommon.rng | 8 ++++++++ tests/domainschematest | 1 + 2 files changed, 9 insertions(+) diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng index f6f697c..7ace1c2 100644 --- a/docs/schemas/domaincommon.rng +++ b/docs/schemas/domaincommon.rng @@ -201,6 +201,7 @@ <value>vbox</value> <value>phyp</value> <value>parallels</value> + <value>bhyve</value> </choice> </attribute> </define> @@ -3010,6 +3011,7 @@ <value>pty</value> <value>spicevmc</value> <value>spiceport</value> + <value>nmdm</value> </choice> </define> @@ -3083,6 +3085,12 @@ <attribute name="channel"/> </optional> <optional> + <attribute name="master"/> + </optional> + <optional> + <attribute name="slave"/> + </optional> + <optional> <ref name='devSeclabel'/> </optional> </element> diff --git a/tests/domainschematest b/tests/domainschematest index 9ebf0b9..6d077ea 100755 --- a/tests/domainschematest +++ b/tests/domainschematest @@ -8,6 +8,7 @@ DIRS="" DIRS="$DIRS domainschemadata qemuxml2argvdata sexpr2xmldata" DIRS="$DIRS xmconfigdata xml2sexprdata qemuxml2xmloutdata " DIRS="$DIRS lxcxml2xmldata lxcxml2xmloutdata" +DIRS="$DIRS bhyvexml2argvdata" SCHEMA="domain.rng" check_schema "$DIRS" "$SCHEMA" -- 1.9.0 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list