mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 17:34:18 +03:00
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>
This commit is contained in:
parent
2ebcff3a74
commit
511df17aec
@ -326,6 +326,9 @@
|
||||
<feature name='stibp'>
|
||||
<cpuid eax_in='0x07' ecx_in='0x00' edx='0x08000000'/>
|
||||
</feature>
|
||||
<feature name='arch-capabilities'> <!-- arch_capabilities, arch-facilities -->
|
||||
<cpuid eax_in='0x07' ecx_in='0x00' edx='0x20000000'/>
|
||||
</feature>
|
||||
<feature name='ssbd'>
|
||||
<cpuid eax_in='0x07' ecx_in='0x00' edx='0x80000000'/>
|
||||
</feature>
|
||||
|
@ -232,7 +232,7 @@
|
||||
"avx512vbmi": false,
|
||||
"kvm-asyncpf": true,
|
||||
"spec-ctrl": false,
|
||||
"arch-facilities": false,
|
||||
"arch-capabilities": false,
|
||||
"model": 1,
|
||||
"node-id": -1
|
||||
}
|
||||
|
@ -232,7 +232,7 @@
|
||||
"avx512vbmi": false,
|
||||
"kvm-asyncpf": true,
|
||||
"spec-ctrl": true,
|
||||
"arch-facilities": false,
|
||||
"arch-capabilities": false,
|
||||
"model": 63,
|
||||
"node-id": -1
|
||||
}
|
||||
|
@ -232,7 +232,7 @@
|
||||
"avx512vbmi": false,
|
||||
"kvm-asyncpf": true,
|
||||
"spec-ctrl": true,
|
||||
"arch-facilities": false,
|
||||
"arch-capabilities": false,
|
||||
"model": 79,
|
||||
"node-id": -1
|
||||
}
|
||||
|
@ -232,7 +232,7 @@
|
||||
"avx512vbmi": false,
|
||||
"kvm-asyncpf": true,
|
||||
"spec-ctrl": true,
|
||||
"arch-facilities": false,
|
||||
"arch-capabilities": false,
|
||||
"model": 85,
|
||||
"node-id": -1
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user