target/i386: Remove core-capability in Snowridge CPU model
authorChenyi Qiang <chenyi.qiang@intel.com>
Fri, 27 Aug 2021 06:48:18 +0000 (14:48 +0800)
committerEduardo Habkost <ehabkost@redhat.com>
Fri, 29 Oct 2021 19:02:30 +0000 (15:02 -0400)
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>
target/i386/cpu.c

index fc3ed80ef1e67e9900c6b82562ab75ce575aca5d..598d451dcf04c0e3ae4ad36edb4d9d36bf29e92f 100644 (file)
@@ -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 */ },
                 },
             },