[PATCH v2] conf: cpu: Add <signature family=X model=X stepping=X/>

Jiri Denemark jdenemar at redhat.com
Tue Jun 14 14:49:12 UTC 2022


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 at 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 at redhat.com>


More information about the libvir-list mailing list