]> git.ipfire.org Git - thirdparty/libvirt.git/commit
cpu_x86: Disable TSX on broken models
authorJiri Denemark <jdenemar@redhat.com>
Wed, 15 Feb 2017 14:01:40 +0000 (15:01 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Fri, 3 Mar 2017 18:57:57 +0000 (19:57 +0100)
commitd60012b4e77c8c67757847c9a4e4aa924b0ee9a0
treec1557c2728067f954f92ea4d45738d5248db8a7d
parent405affeb07229cbb9f5fb4536779828cdd128b7a
cpu_x86: Disable TSX on broken models

All Intel Haswell processors (except Xeon E7 v3 with stepping >= 4) have
TSX disabled by microcode update. As not all CPUs are guaranteed to be
patched with microcode updates we need to explicitly disable TSX on
affected CPUs to avoid its accidental usage.

https://bugzilla.redhat.com/show_bug.cgi?id=1406791

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
src/cpu/cpu_x86.c
tests/cputestdata/x86_64-cpuid-Core-i5-4670T-guest.xml
tests/cputestdata/x86_64-cpuid-Core-i5-4670T-host.xml
tests/cputestdata/x86_64-cpuid-Core-i5-4670T-json.xml