]> git.ipfire.org Git - thirdparty/libvirt.git/commit
cpu_map: Add libcpuinfo as optional data source
authorTim Wiederhake <twiederh@redhat.com>
Mon, 5 Feb 2024 10:18:43 +0000 (11:18 +0100)
committerTim Wiederhake <twiederh@redhat.com>
Tue, 13 Aug 2024 15:00:41 +0000 (17:00 +0200)
commita18b23271249f99bd169aab6e0e14d18de8fe02d
tree66b645bac10aad7cdbcb810c4d4f896406f103b0
parentb3edf03c310b7c4b9fc67fc6c9e3129312e37653
cpu_map: Add libcpuinfo as optional data source

This adds an option to use libcpuinfo [1] as data source for
libvirt's list of x86 cpu features. This is purely optional and
does not change the script's behavior if libcpuinfo is not
installed.

libcpuinfo is a cross-vendor, cross-architecture source for CPU
related information that has the capability to replace libvirt's
dependence on qemu's cpu feature list.

[1] https://gitlab.com/twiederh/libcpuinfo

Signed-off-by: Tim Wiederhake <twiederh@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/cpu_map/libcpuinfo_aliases.xml [new file with mode: 0644]
src/cpu_map/sync_qemu_features_i386.py