schema: Make element "topology" in host CPU definition optional

This element is not always present, see e.g.
x86_64-cpuid-Xeon-X5460-host.xml, x86_64-cpuid-Pentium-P6100-host.xml,
or x86_64-cpuid-EPYC-7601-32-Core-ibpb-host.xml.

Signed-off-by: Tim Wiederhake <twiederh@redhat.com>
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
This commit is contained in:
Tim Wiederhake 2020-10-07 10:54:54 +02:00 committed by Jiri Denemark
parent 03df87ce0d
commit 94bac7c866

View File

@ -336,6 +336,7 @@
</attribute> </attribute>
</element> </element>
</optional> </optional>
<optional>
<element name="topology"> <element name="topology">
<attribute name="sockets"> <attribute name="sockets">
<ref name="positiveInteger"/> <ref name="positiveInteger"/>
@ -347,6 +348,7 @@
<ref name="positiveInteger"/> <ref name="positiveInteger"/>
</attribute> </attribute>
</element> </element>
</optional>
<zeroOrMore> <zeroOrMore>
<element name="feature"> <element name="feature">
<attribute name="name"> <attribute name="name">