Re: [PATCH 19/23] cputest: Add query-cpu-definitions reply for Xeon-E7-4830

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 10/04/2017 10:58 AM, Jiri Denemark wrote:
> 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@xxxxxxxxxx>
> ---
>  tests/cputest.c                                    |   2 +-
>  .../x86_64-cpuid-Xeon-E7-4830-guest.xml            |   8 +-
>  .../cputestdata/x86_64-cpuid-Xeon-E7-4830-json.xml |   1 +
>  tests/cputestdata/x86_64-cpuid-Xeon-E7-4830.json   | 422 +++++++++++++++++++++
>  4 files changed, 428 insertions(+), 5 deletions(-)
> 

Similar "mpx" duplication, but otherwise seemingly fine.

Reviewed-by: John Ferlan <jferlan@xxxxxxxxxx>

John

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux