]> xenbits.xensource.com Git - libvirt.git/commit
cpu_map: Add support for arch-capabilities feature
authorJiri Denemark <jdenemar@redhat.com>
Thu, 10 Jan 2019 13:35:07 +0000 (14:35 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Thu, 10 Jan 2019 15:39:57 +0000 (16:39 +0100)
commit511df17aec36385320dbcc088ba85968537d1d42
treef49b03c9a46d4b9a6706f34c7be3dcf4715fe7b1
parent2ebcff3a74931e6927c3afa7c48c9b0fecf0db4b
cpu_map: Add support for arch-capabilities feature

The feature was added to QEMU in 3.1.0 and it is currently blocking
migration, which is expected to change in the future. Luckily 3.1.0 is
new enough to give us migratability hints on each feature via
query-cpu-model-expension, which means we don't need to use the
"migratable" attribute on the CPU map XML.

The kernel calls this feature arch_capabilities and RHEL/CentOS 7.* use
arch-facilities. Apparently some CPU test files were gathered with the
RHEL version of QEMU. Let's update the test files to avoid possible
confusion about the correct naming.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/cpu_map/x86_features.xml
tests/cputestdata/x86_64-cpuid-EPYC-7601-32-Core-ibpb.json
tests/cputestdata/x86_64-cpuid-Xeon-E5-2609-v3.json
tests/cputestdata/x86_64-cpuid-Xeon-E5-2623-v4.json
tests/cputestdata/x86_64-cpuid-Xeon-Gold-5115.json