aboutsummaryrefslogtreecommitdiff
path: root/target/i386
diff options
context:
space:
mode:
authorChenyi Qiang <chenyi.qiang@intel.com>2021-08-27 14:48:18 +0800
committerEduardo Habkost <ehabkost@redhat.com>2021-10-29 15:02:30 -0400
commit07db29f20a9a845c8408df11936889e5411ff44f (patch)
tree38094af69a2a0bcbd3bbd930965e4de38db93b9f /target/i386
parenta92cecba2791cd408d2bca04ce181dc2abaf9695 (diff)
downloadqemu-07db29f20a9a845c8408df11936889e5411ff44f.zip
qemu-07db29f20a9a845c8408df11936889e5411ff44f.tar.gz
qemu-07db29f20a9a845c8408df11936889e5411ff44f.tar.bz2
target/i386: Remove core-capability in Snowridge CPU model
Because core-capability releated features are model-specific and KVM won't support it, remove the core-capability in CPU model to avoid the warning message. Signed-off-by: Chenyi Qiang <chenyi.qiang@intel.com> Message-Id: <20210827064818.4698-3-chenyi.qiang@intel.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'target/i386')
-rw-r--r--target/i386/cpu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/i386/cpu.c b/target/i386/cpu.c
index fc3ed80..598d451 100644
--- a/target/i386/cpu.c
+++ b/target/i386/cpu.c
@@ -3749,9 +3749,10 @@ static const X86CPUDefinition builtin_x86_defs[] = {
},
{
.version = 4,
- .note = "no split lock detect",
+ .note = "no split lock detect, no core-capability",
.props = (PropValue[]) {
{ "split-lock-detect", "off" },
+ { "core-capability", "off" },
{ /* end of list */ },
},
},