]> xenbits.xensource.com Git - libvirt.git/commit
cputest: Add query-cpu-definitions reply for Xeon-E7-4830
authorJiri Denemark <jdenemar@redhat.com>
Tue, 26 Sep 2017 20:14:25 +0000 (22:14 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Mon, 16 Oct 2017 07:23:21 +0000 (09:23 +0200)
commit8e72c612fe2faedaad98d41554c438f7c229ef26
tree969a71abdedca6e3ee5ad45a6909766273ed75aa
parent3479f297b3a64ef3c338d1b72da762dde6095689
cputest: Add query-cpu-definitions reply for Xeon-E7-4830

This CPU was incorrectly detected as SandyBridge before because the
number of additional <feature> elements was the same for both
SandyBridge and Westmere CPU models, but SandyBridge is newer (the CPU
signature does not help here because it doesn't match any signature
defined in cpu_map.xml). But since QEMU's version of SandyBridge CPU
model contains xsaveopt which needs to be disabled, Westmere becomes the
best CPU model when translating CPUID data to virCPUDef. Unfortunately,
this doesn't help with translating the data we got from QEMU and the CPU
model is still computed as SandyBridge in this case.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
tests/cputest.c
tests/cputestdata/x86_64-cpuid-Xeon-E7-4830-guest.xml
tests/cputestdata/x86_64-cpuid-Xeon-E7-4830-json.xml
tests/cputestdata/x86_64-cpuid-Xeon-E7-4830.json