[libvirt PATCH v3 03/24] cpu: make x86 feature alias names machine readable

Jiri Denemark jdenemar at redhat.com
Tue Nov 8 11:22:05 UTC 2022


On Fri, Nov 04, 2022 at 16:43:23 +0100, Tim Wiederhake wrote:
> Signed-off-by: Tim Wiederhake <twiederh at redhat.com>
> Reviewed-by: Jiri Denemark <jdenemar at redhat.com>
> ---
>  src/cpu_map/x86_features.xml | 55 +++++++++++++++++++++++++-----------
>  1 file changed, 38 insertions(+), 17 deletions(-)
> 
> diff --git a/src/cpu_map/x86_features.xml b/src/cpu_map/x86_features.xml
> index 4cf3ff0804..925185f2f6 100644
> --- a/src/cpu_map/x86_features.xml
> +++ b/src/cpu_map/x86_features.xml
...
> @@ -353,7 +363,9 @@
>    <feature name='stibp'>
>      <cpuid eax_in='0x07' ecx_in='0x00' edx='0x08000000'/>
>    </feature>
> -  <feature name='arch-capabilities'> <!-- arch_capabilities, arch-facilities -->
> +  <feature name='arch-capabilities'>
> +    <alias name='arch_capabilities' source='linux'/>
> +    <alias name='arch-facilities' source='rhel7'/>

We can just drop this ancient downstream-only alias.

Jirka


More information about the libvir-list mailing list