]> git.ipfire.org Git - thirdparty/libvirt.git/commit
cpu: Add Broadwell-IBRS CPU model
authorJiri Denemark <jdenemar@redhat.com>
Tue, 9 Jan 2018 20:36:28 +0000 (21:36 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Wed, 17 Jan 2018 16:07:04 +0000 (17:07 +0100)
commit7bb4ce9761dfbd1620ddffb26fbd6f0ff1fedf3f
tree1544074f0f26d923467b10d500dbda10157bd156
parent49bffcb3cc1850d332b9648c686a7be18de9e708
cpu: Add Broadwell-IBRS CPU model

This is a variant of Broadwell with indirect branch prediction
protection. The only difference between Broadwell and Broadwell-IBRS is
the added "spec-ctrl" feature.

The Broadwell-IBRS model in QEMU is a bit different since Broadwell got
several additional features since we added it in cpu_map.xml:
    abm, arat, f16c, rdrand, vme, xsaveopt

Adding them only to the -IBRS variant would confuse our CPU detection
code.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
src/cpu/cpu_map.xml
tests/cputestdata/x86_64-cpuid-Core-i7-5600U-ibrs-guest.xml
tests/cputestdata/x86_64-cpuid-Core-i7-5600U-ibrs-host.xml
tests/cputestdata/x86_64-cpuid-Xeon-E5-2623-v4-host.xml