i386: Change stepping of Haswell to non-blacklisted value

glibc blacklists TSX on Haswell CPUs with model==60 and
stepping < 4. To make the Haswell CPU model more useful, make
those guests actually use TSX by changing CPU stepping to 4.

References:
* glibc commit 2702856bf45c82cf8e69f2064f5aa15c0ceb6359
https://sourceware.org/git/?p=glibc.git;a=commit;h=2702856bf45c82cf8e69f2064f5aa15c0ceb6359

Backports commit ec56a4a7b07e2943f49da273a31e3195083b1f2e from qemu
This commit is contained in:
Eduardo Habkost 2018-03-02 12:53:09 -05:00 committed by Lioncash
parent f865b17639
commit 9ddce7c01d
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

View file

@ -1465,7 +1465,7 @@ static X86CPUDefinition builtin_x86_defs[] = {
"Haswell",
0xd, 0x80000008,
CPUID_VENDOR_INTEL,
6, 60, 1,
6, 60, 4,
{
// FEAT_1_EDX
CPUID_VME | CPUID_SSE2 | CPUID_SSE | CPUID_FXSR | CPUID_MMX |