mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
schema: Don't enforce ordering of hostcpu capabilities elements
The change to caps-test.xml demonstrates the need for the change to cputypes.rng. Signed-off-by: Jim Fehlig <jfehlig@suse.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
b5f63691a6
commit
65e8ac6f92
@ -326,90 +326,92 @@
|
||||
<element name="arch">
|
||||
<ref name="archnames"/>
|
||||
</element>
|
||||
<optional>
|
||||
<element name="features">
|
||||
<optional>
|
||||
<element name="pae"><empty/></element>
|
||||
</optional>
|
||||
<optional>
|
||||
<element name="nonpae"><empty/></element>
|
||||
</optional>
|
||||
<optional>
|
||||
<element name="vmx"><empty/></element>
|
||||
</optional>
|
||||
<optional>
|
||||
<element name="svm"><empty/></element>
|
||||
</optional>
|
||||
</element>
|
||||
</optional>
|
||||
<optional>
|
||||
<element name="model">
|
||||
<text/>
|
||||
</element>
|
||||
</optional>
|
||||
<optional>
|
||||
<element name="vendor">
|
||||
<text/>
|
||||
</element>
|
||||
</optional>
|
||||
<optional>
|
||||
<element name="microcode">
|
||||
<attribute name="version">
|
||||
<ref name="positiveInteger"/>
|
||||
</attribute>
|
||||
</element>
|
||||
</optional>
|
||||
<optional>
|
||||
<element name="signature">
|
||||
<attribute name="family">
|
||||
<ref name="positiveInteger"/>
|
||||
</attribute>
|
||||
<attribute name="model">
|
||||
<ref name="unsignedInt"/>
|
||||
</attribute>
|
||||
<attribute name="stepping">
|
||||
<ref name="unsignedInt"/>
|
||||
</attribute>
|
||||
</element>
|
||||
</optional>
|
||||
<optional>
|
||||
<element name="counter">
|
||||
<attribute name="name">
|
||||
<interleave>
|
||||
<optional>
|
||||
<element name="features">
|
||||
<optional>
|
||||
<element name="pae"><empty/></element>
|
||||
</optional>
|
||||
<optional>
|
||||
<element name="nonpae"><empty/></element>
|
||||
</optional>
|
||||
<optional>
|
||||
<element name="vmx"><empty/></element>
|
||||
</optional>
|
||||
<optional>
|
||||
<element name="svm"><empty/></element>
|
||||
</optional>
|
||||
</element>
|
||||
</optional>
|
||||
<optional>
|
||||
<element name="model">
|
||||
<text/>
|
||||
</attribute>
|
||||
<attribute name="frequency">
|
||||
<ref name="positiveInteger"/>
|
||||
</attribute>
|
||||
<attribute name="scaling">
|
||||
<ref name="virYesNo"/>
|
||||
</attribute>
|
||||
</element>
|
||||
</optional>
|
||||
<optional>
|
||||
<ref name="cpuTopology"/>
|
||||
</optional>
|
||||
<zeroOrMore>
|
||||
<element name="feature">
|
||||
<attribute name="name">
|
||||
<data type="string">
|
||||
<param name="pattern">[a-zA-Z0-9\-_]+</param>
|
||||
</data>
|
||||
</attribute>
|
||||
<empty/>
|
||||
</element>
|
||||
</zeroOrMore>
|
||||
<zeroOrMore>
|
||||
<element name="pages">
|
||||
<optional>
|
||||
<attribute name="unit">
|
||||
<ref name="unit"/>
|
||||
</element>
|
||||
</optional>
|
||||
<optional>
|
||||
<element name="vendor">
|
||||
<text/>
|
||||
</element>
|
||||
</optional>
|
||||
<optional>
|
||||
<element name="microcode">
|
||||
<attribute name="version">
|
||||
<ref name="positiveInteger"/>
|
||||
</attribute>
|
||||
</optional>
|
||||
<attribute name="size">
|
||||
<ref name="unsignedInt"/>
|
||||
</attribute>
|
||||
</element>
|
||||
</zeroOrMore>
|
||||
</element>
|
||||
</optional>
|
||||
<optional>
|
||||
<element name="signature">
|
||||
<attribute name="family">
|
||||
<ref name="positiveInteger"/>
|
||||
</attribute>
|
||||
<attribute name="model">
|
||||
<ref name="unsignedInt"/>
|
||||
</attribute>
|
||||
<attribute name="stepping">
|
||||
<ref name="unsignedInt"/>
|
||||
</attribute>
|
||||
</element>
|
||||
</optional>
|
||||
<optional>
|
||||
<element name="counter">
|
||||
<attribute name="name">
|
||||
<text/>
|
||||
</attribute>
|
||||
<attribute name="frequency">
|
||||
<ref name="positiveInteger"/>
|
||||
</attribute>
|
||||
<attribute name="scaling">
|
||||
<ref name="virYesNo"/>
|
||||
</attribute>
|
||||
</element>
|
||||
</optional>
|
||||
<optional>
|
||||
<ref name="cpuTopology"/>
|
||||
</optional>
|
||||
<zeroOrMore>
|
||||
<element name="feature">
|
||||
<attribute name="name">
|
||||
<data type="string">
|
||||
<param name="pattern">[a-zA-Z0-9\-_]+</param>
|
||||
</data>
|
||||
</attribute>
|
||||
<empty/>
|
||||
</element>
|
||||
</zeroOrMore>
|
||||
<zeroOrMore>
|
||||
<element name="pages">
|
||||
<optional>
|
||||
<attribute name="unit">
|
||||
<ref name="unit"/>
|
||||
</attribute>
|
||||
</optional>
|
||||
<attribute name="size">
|
||||
<ref name="unsignedInt"/>
|
||||
</attribute>
|
||||
</element>
|
||||
</zeroOrMore>
|
||||
</interleave>
|
||||
</element>
|
||||
</define>
|
||||
|
||||
|
@ -3,6 +3,7 @@
|
||||
<host>
|
||||
<cpu>
|
||||
<arch>i686</arch>
|
||||
<vendor>Intel</vendor>
|
||||
<features>
|
||||
<pae/>
|
||||
<nonpae/>
|
||||
|
Loading…
Reference in New Issue
Block a user