mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-07 20:27:23 +00:00
Add LXC XML files to schema test & fix problems this uncovers
* docs/schemas/domaincommon.rng: Add missing lxc & openvz console target types. Allow arch on LXC <os> type element * tests/domainschematest: Include tests/lxcxml2xmldata/
This commit is contained in:
parent
c91cff255f
commit
72c507317a
@ -370,6 +370,18 @@
|
||||
<define name="osexe">
|
||||
<element name="os">
|
||||
<element name="type">
|
||||
<optional>
|
||||
<attribute name="arch">
|
||||
<choice>
|
||||
<value>i686</value>
|
||||
<value>x86_64</value>
|
||||
<value>ppc</value>
|
||||
<value>ppc64</value>
|
||||
<value>mips</value>
|
||||
<value>sparc</value>
|
||||
</choice>
|
||||
</attribute>
|
||||
</optional>
|
||||
<value>exe</value>
|
||||
</element>
|
||||
<interleave>
|
||||
@ -2103,6 +2115,8 @@
|
||||
<value>serial</value>
|
||||
<value>uml</value>
|
||||
<value>virtio</value>
|
||||
<value>lxc</value>
|
||||
<value>openvz</value>
|
||||
</choice>
|
||||
</attribute>
|
||||
</define>
|
||||
|
@ -4,7 +4,10 @@
|
||||
. $srcdir/test-lib.sh
|
||||
. $abs_srcdir/schematestutils.sh
|
||||
|
||||
DIRS="domainschemadata qemuxml2argvdata sexpr2xmldata xmconfigdata xml2sexprdata qemuxml2xmloutdata"
|
||||
DIRS=""
|
||||
DIRS="$DIRS domainschemadata qemuxml2argvdata sexpr2xmldata"
|
||||
DIRS="$DIRS xmconfigdata xml2sexprdata qemuxml2xmloutdata "
|
||||
DIRS="$DIRS lxcxml2xmldata"
|
||||
SCHEMA="domain.rng"
|
||||
|
||||
check_schema "$DIRS" "$SCHEMA"
|
||||
|
Loading…
x
Reference in New Issue
Block a user