[libvirt] [PATCH 0/4] cpu: modularize the CPU map data file

Jiri Denemark jdenemar at redhat.com
Tue Aug 14 09:00:43 UTC 2018


On Wed, Aug 01, 2018 at 18:02:28 +0100, Daniel P. Berrangé wrote:
> Currently we have a cpu_map.xml file that contains all the features and
> CPU models for all architectures in one place. I frequently find myself
> wondering about the differences between CPU models, but it is hard to
> compare them as the list of features is huge.
> 
> With this patch series we end up with a large set of small files, one
> per named CPU model, along with one for the feature and vendor
> definitions
> 
>    cpu_map_ppc64_POWER6.xml
>    cpu_map_ppc64_POWER7.xml
>    cpu_map_ppc64_POWER8.xml
>    cpu_map_ppc64_POWER9.xml
>    cpu_map_ppc64_POWERPC_e5500.xml
>    cpu_map_ppc64_POWERPC_e6500.xml
>    cpu_map_ppc64_vendors.xml
>    cpu_map_x86_486.xml
>    cpu_map_x86_athlon.xml

Could we make a cpu_map subdirectory and create the CPU definitions
there instead? For example

    src/cpu_map/ppc64_POWER6.xml
    src/cpu_map/x86_Broadwell-IBRS.xml

I think it would make navigation through both the sources and the CPU
models a lot easier.

Jirka




More information about the libvir-list mailing list