qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PULL 1/1] target/i386: Remove core-capability in Snowridge CPU model


From: Eduardo Habkost
Subject: [PULL 1/1] target/i386: Remove core-capability in Snowridge CPU model
Date: Fri, 29 Oct 2021 15:07:58 -0400

From: Chenyi Qiang <chenyi.qiang@intel.com>

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 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/target/i386/cpu.c b/target/i386/cpu.c
index fc3ed80ef1e..598d451dcf0 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 */ },
                 },
             },
-- 
2.32.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]