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 2018-05-19 06:47:27 -04:00
parent 8d84578035
commit f97c4cc5e1
3 changed files with 9 additions and 0 deletions

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'/>

View File

@ -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'/>

View File

@ -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'/>