diff options
author | Tao Xu <tao3.xu@intel.com> | 2020-02-12 16:13:25 +0800 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2020-03-17 19:48:10 -0400 |
commit | ab0c942c868210e78ff88aef83efb4b4018068e1 (patch) | |
tree | 766936777bdae725150f51870661f20f0b94c0e0 /target | |
parent | d649689a8ecb2e276cc20d3af6d416e3c299cb17 (diff) | |
download | qemu-ab0c942c868210e78ff88aef83efb4b4018068e1.zip qemu-ab0c942c868210e78ff88aef83efb4b4018068e1.tar.gz qemu-ab0c942c868210e78ff88aef83efb4b4018068e1.tar.bz2 |
target/i386: Add Denverton-v2 (no MPX) CPU model
Because MPX is being removed from the linux kernel, remove MPX feature
from Denverton.
Signed-off-by: Tao Xu <tao3.xu@intel.com>
Message-Id: <20200212081328.7385-2-tao3.xu@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 92fafa2..c3b5cf1 100644 --- a/target/i386/cpu.c +++ b/target/i386/cpu.c @@ -3592,6 +3592,18 @@ static X86CPUDefinition builtin_x86_defs[] = { .features[FEAT_VMX_VMFUNC] = MSR_VMX_VMFUNC_EPT_SWITCHING, .xlevel = 0x80000008, .model_id = "Intel Atom Processor (Denverton)", + .versions = (X86CPUVersionDefinition[]) { + { .version = 1 }, + { + .version = 2, + .props = (PropValue[]) { + { "monitor", "off" }, + { "mpx", "off" }, + { /* end of list */ }, + }, + }, + { /* end of list */ }, + }, }, { .name = "Snowridge", |