[libvirt] [PATCH] cpu_map: Add support for arch-capabilities feature

Ján Tomko jtomko at redhat.com
Thu Jan 10 15:07:40 UTC 2019


On Thu, Jan 10, 2019 at 03:25:03PM +0100, Jiri Denemark wrote:
>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 at redhat.com>
>---
> src/cpu_map/x86_features.xml                               | 3 +++
> tests/cputestdata/x86_64-cpuid-EPYC-7601-32-Core-ibpb.json | 2 +-
> tests/cputestdata/x86_64-cpuid-Xeon-E5-2609-v3.json        | 2 +-
> tests/cputestdata/x86_64-cpuid-Xeon-E5-2623-v4.json        | 2 +-
> tests/cputestdata/x86_64-cpuid-Xeon-Gold-5115.json         | 2 +-
> 5 files changed, 7 insertions(+), 4 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190110/d0275c87/attachment-0001.sig>


More information about the libvir-list mailing list