
14 Jun
2022
14 Jun
'22
4:49 p.m.
On Tue, Jun 14, 2022 at 10:39:52 -0400, Cole Robinson wrote:
Internally we already collect x86 host family + model + stepping numeric values. This exposed them in capabilities CPU output. Example:
$ sudo virsh capabilities | grep -A1 -B1 signature <microcode version='240'/> <signature family='6' model='94' stepping='3'/> <counter name='tsc' frequency='3408010000' scaling='no'/>
Users need to know these values to calculate an expected. SEV-ES/SEV-SNP launch measurement.
Signed-off-by: Cole Robinson <crobinso@redhat.com> --- v2: sigXXX naming was kept, since there's a conflicting 'model' member in the struct already. Addressed Jirka's review comments
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>