[libvirt PATCH 3/7] cpu_map: Add support for core-capability CPU feature

Jiri Denemark jdenemar at redhat.com
Thu Jan 7 23:00:20 UTC 2021


On Wed, Jan 06, 2021 at 11:05:07 +0100, Tim Wiederhake wrote:
> Signed-off-by: Tim Wiederhake <twiederh at redhat.com>
> ---
>  src/cpu_map/x86_features.xml | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/src/cpu_map/x86_features.xml b/src/cpu_map/x86_features.xml
> index b0bf22d916..a5a987deba 100644
> --- a/src/cpu_map/x86_features.xml
> +++ b/src/cpu_map/x86_features.xml
> @@ -357,6 +357,9 @@
>    <feature name='arch-capabilities'> <!-- arch_capabilities, arch-facilities -->
>      <cpuid eax_in='0x07' ecx_in='0x00' edx='0x20000000'/>
>    </feature>
> +  <feature name='core-capability'>
> +    <cpuid eax_in='0x07' ecx_in='0x00' edx='0x40000000'/>
> +  </feature>
>    <feature name='ssbd'>
>      <cpuid eax_in='0x07' ecx_in='0x00' edx='0x80000000'/>
>    </feature>

The following patch has to be squashed in this one once Atom-P5362 test
case is added to cputest in patch 1/7 and cputest output files need to
be regenerated here to show core-capability was properly detected in
Atom-P5362's CPUID data.

Jirka




More information about the libvir-list mailing list