diff options
author | Xiaoyao Li <xiaoyao.li@intel.com> | 2019-10-12 10:47:48 +0800 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2019-10-15 18:34:44 -0300 |
commit | 69edb0f37a52053978de65a81241ef171a6f2396 (patch) | |
tree | a07cc4e9a813674a902fa99efa5052c19971aed9 /target | |
parent | af95cafb877f563ed39ce8a5b2abe227dd5312fa (diff) | |
download | qemu-69edb0f37a52053978de65a81241ef171a6f2396.zip qemu-69edb0f37a52053978de65a81241ef171a6f2396.tar.gz qemu-69edb0f37a52053978de65a81241ef171a6f2396.tar.bz2 |
target/i386: Add Snowridge-v2 (no MPX) CPU model
Add new version of Snowridge CPU model that removes MPX feature.
MPX support is being phased out by Intel. GCC has dropped it, Linux kernel
and KVM are also going to do that in the future.
Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com>
Message-Id: <20191012024748.127135-1-xiaoyao.li@intel.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'target')
-rw-r--r-- | target/i386/cpu.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/target/i386/cpu.c b/target/i386/cpu.c index b821132..47200b4 100644 --- a/target/i386/cpu.c +++ b/target/i386/cpu.c @@ -2793,6 +2793,18 @@ static X86CPUDefinition builtin_x86_defs[] = { CPUID_6_EAX_ARAT, .xlevel = 0x80000008, .model_id = "Intel Atom Processor (SnowRidge)", + .versions = (X86CPUVersionDefinition[]) { + { .version = 1 }, + { + .version = 2, + .props = (PropValue[]) { + { "mpx", "off" }, + { "model-id", "Intel Atom Processor (Snowridge, no MPX)" }, + { /* end of list */ }, + }, + }, + { /* end of list */ }, + }, }, { .name = "KnightsMill", |