From: Chenyi Qiang Date: Wed, 30 Jun 2021 01:20:53 +0000 (+0800) Subject: target/i386: Remove split lock detect in Snowridge CPU model X-Git-Tag: v6.2.0-rc0~133^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=56bb24e543f9ddd27c74178f3398b7a1dbb2742a;p=thirdparty%2Fqemu.git 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 Message-Id: <20210630012053.10098-1-chenyi.qiang@intel.com> Signed-off-by: Eduardo Habkost --- diff --git a/target/i386/cpu.c b/target/i386/cpu.c index 34a7ce865bb..aebf81d9c98 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 */ }, }, },