schema: Add microcode element to capability grammar

https://bugzilla.redhat.com/show_bug.cgi?id=1572491

Commit id 'd2440f3b5' added printing the <microcode> for the
capabilities, but didn't update the capabilities schema.

While at it, update capabilityschemadata for caps-test2
and caps-test3 to output some value for validation.

Signed-off-by: John Ferlan <jferlan@redhat.com>
ACKed-by Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
John Ferlan committed 2018-05-25 09:36:32 -04:00
1 parent 8d84578035
commit f97c4cc5e1
3 files changed
+9

No files matched your search

+7
View File
@@ -102,6 +102,13 @@
<text/>
</element>
</optional>
<optional>
<element name='microcode'>
<attribute name='version'>
<ref name='positiveInteger'/>
</attribute>
</element>
</optional>
<element name='topology'>
<attribute name='sockets'>
<ref name='positiveInteger'/>
@@ -5,6 +5,7 @@
<arch>x86_64</arch>
<model>SandyBridge</model>
<vendor>Intel</vendor>
<microcode version='36'/>
<topology sockets='1' cores='2' threads='2'/>
<feature name='osxsave'/>
<feature name='pdcm'/>
@@ -6,6 +6,7 @@
<arch>x86_64</arch>
<model>Westmere</model>
<vendor>Intel</vendor>
<microcode version='36'/>
<topology sockets='1' cores='6' threads='2'/>
<feature name='rdtscp'/>
<feature name='pdpe1gb'/>