target-i386: Disable HLE and RTM on Haswell & Broadwell
commit13704e4c455770d500d6b87b117e32f0d01252c9
authorEduardo Habkost <ehabkost@redhat.com>
Thu, 22 Jan 2015 19:22:54 +0000 (22 17:22 -0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 26 Jan 2015 11:27:05 +0000 (26 12:27 +0100)
tree1151345abb4c802bce38b881e0992c5663b65417
parent80fd48df4a53d01cc5d8a41e565f81af5978121f
target-i386: Disable HLE and RTM on Haswell & Broadwell

All Haswell CPUs and some Broadwell CPUs were updated by Intel to have
the HLE and RTM features disabled. This will prevent
"-cpu Haswell,enforce" and "-cpu Broadwell,enforce" from running out of
the box on those CPUs.

Disable those features by default on Broadwell and Haswell CPU models,
starting on pc-*-2.3. Users who want to use those features can enable
them explicitly on the command-line.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/i386/pc_piix.c
hw/i386/pc_q35.c
target-i386/cpu.c