diff mbox series

[v2,2/2] target/i386: Remove core-capability in Snowridge CPU model

Message ID 20210827064818.4698-3-chenyi.qiang@intel.com
State New
Headers show
Series Remove unsupported features in SNR CPU model | expand

Commit Message

Chenyi Qiang Aug. 27, 2021, 6:48 a.m. UTC
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>
---
 target/i386/cpu.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Chenyi Qiang Oct. 11, 2021, 8:31 a.m. UTC | #1
Hi Eduardo,

Ping for this minor change.

On 8/27/2021 2:48 PM, Chenyi Qiang wrote:
> 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>
> ---
>   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 aebf81d9c9..86a15af1ed 100644
> --- a/target/i386/cpu.c
> +++ b/target/i386/cpu.c
> @@ -3684,9 +3684,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 */ },
>                   },
>               },
>
diff mbox series

Patch

diff --git a/target/i386/cpu.c b/target/i386/cpu.c
index aebf81d9c9..86a15af1ed 100644
--- a/target/i386/cpu.c
+++ b/target/i386/cpu.c
@@ -3684,9 +3684,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 */ },
                 },
             },