aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChenyi Qiang <chenyi.qiang@intel.com>2021-06-30 09:20:53 +0800
committerEduardo Habkost <ehabkost@redhat.com>2021-08-25 12:33:37 -0400
commit56bb24e543f9ddd27c74178f3398b7a1dbb2742a (patch)
treeba03b8c79bdcd87b99bba1ab5f86c44f7e38f9f2
parentd42685765653ec155fdf60910662f8830bdb2cef (diff)
downloadqemu-56bb24e543f9ddd27c74178f3398b7a1dbb2742a.zip
qemu-56bb24e543f9ddd27c74178f3398b7a1dbb2742a.tar.gz
qemu-56bb24e543f9ddd27c74178f3398b7a1dbb2742a.tar.bz2
target/i386: Remove split lock detect in Snowridge CPU model
At present, there's no mechanism intelligent enough to virtualize split lock detection correctly. Remove it in Snowridge CPU model to avoid the feature exposure. Signed-off-by: Chenyi Qiang <chenyi.qiang@intel.com> Message-Id: <20210630012053.10098-1-chenyi.qiang@intel.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
-rw-r--r--target/i386/cpu.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/target/i386/cpu.c b/target/i386/cpu.c
index 34a7ce8..aebf81d 100644
--- a/target/i386/cpu.c
+++ b/target/i386/cpu.c
@@ -3682,6 +3682,14 @@ static const X86CPUDefinition builtin_x86_defs[] = {
{ /* end of list */ },
},
},
+ {
+ .version = 4,
+ .note = "no split lock detect",
+ .props = (PropValue[]) {
+ { "split-lock-detect", "off" },
+ { /* end of list */ },
+ },
+ },
{ /* end of list */ },
},
},