[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] target/i386: Remove split lock detect in Snowridge CPU model
From: |
Chenyi Qiang |
Subject: |
[PATCH] target/i386: Remove split lock detect in Snowridge CPU model |
Date: |
Wed, 30 Jun 2021 09:20:53 +0800 |
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>
---
target/i386/cpu.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/target/i386/cpu.c b/target/i386/cpu.c
index a9fe1662d3..c3b527b7b0 100644
--- a/target/i386/cpu.c
+++ b/target/i386/cpu.c
@@ -3698,6 +3698,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 */ },
},
},
--
2.17.1
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] target/i386: Remove split lock detect in Snowridge CPU model,
Chenyi Qiang <=