]> git.proxmox.com Git - mirror_qemu.git/commit - target/i386/cpu.c
Revert "target-i386: Disable HLE and RTM on Haswell & Broadwell"
authorEduardo Habkost <ehabkost@redhat.com>
Fri, 13 Mar 2015 18:39:43 +0000 (15:39 -0300)
committerEduardo Habkost <ehabkost@redhat.com>
Thu, 19 Mar 2015 19:35:14 +0000 (16:35 -0300)
commit1ee9159882f6687d6bc1f2207e97ada1eeccaa7c
tree32ba4168a5beda9a267e78ac3168d5cae3b33564
parent3e5f6234b4f45a11b7c357dde2d6da36641bc6f6
Revert "target-i386: Disable HLE and RTM on Haswell & Broadwell"

This reverts commit 13704e4c455770d500d6b87b117e32f0d01252c9.

With the Intel microcode update that removed HLE and RTM, there will be
different kinds of Haswell and Broadwell CPUs out there: some that still
have the HLE and RTM features, and some that don't have the HLE and RTM
features. On both cases people may be willing to use the pc-*-2.3
machine-types.

So instead of making the CPU model results confusing by making it depend
on the machine-type, keep HLE and RTM on the existing Haswell and
Broadwell CPU models. The plan is to introduce "Haswell-noTSX" and
"Broadwell-noTSX" CPU models later, for people who have CPUs that don't
have TSX feature available.

Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/i386/pc_piix.c
hw/i386/pc_q35.c
target-i386/cpu.c