]> git.proxmox.com Git - mirror_qemu.git/commit - target/i386/cpu.c
i386: Change stepping of Haswell to non-blacklisted value
authorEduardo Habkost <ehabkost@redhat.com>
Thu, 9 Mar 2017 18:12:12 +0000 (15:12 -0300)
committerEduardo Habkost <ehabkost@redhat.com>
Fri, 10 Mar 2017 18:01:09 +0000 (15:01 -0300)
commitec56a4a7b07e2943f49da273a31e3195083b1f2e
treeb5a466451b05e13429e613d9c8e75507e8d318d7
parent40e80ee4113ad957b633cbdddb7423952bb76974
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

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20170309181212.18864-4-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
include/hw/i386/pc.h
target/i386/cpu.c