mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
schemas: Deduplicate cpuTopology in cputypes.rng
The duplicate had the "dies" attribute missing, causing $ virsh capabilities > cap.xml $ virsh [hypervisor-]cpu-compare cap.xml --validate to fail with error: Failed to compare hypervisor CPU with cap.xml error: XML document failed to validate against schema: Unable to validate doc against /usr/share/libvirt/schemas/cpu.rng Invalid attribute dies for element topology Signed-off-by: Tim Wiederhake <twiederh@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
9d5f9b7ae8
commit
07cc8b007f
@ -337,17 +337,7 @@
|
||||
</element>
|
||||
</optional>
|
||||
<optional>
|
||||
<element name="topology">
|
||||
<attribute name="sockets">
|
||||
<ref name="positiveInteger"/>
|
||||
</attribute>
|
||||
<attribute name="cores">
|
||||
<ref name="positiveInteger"/>
|
||||
</attribute>
|
||||
<attribute name="threads">
|
||||
<ref name="positiveInteger"/>
|
||||
</attribute>
|
||||
</element>
|
||||
<ref name="cpuTopology"/>
|
||||
</optional>
|
||||
<zeroOrMore>
|
||||
<element name="feature">
|
||||
|
Loading…
x
Reference in New Issue
Block a user