Commit d965dc35 authored by Xiaoyao Li's avatar Xiaoyao Li Committed by Eduardo Habkost
Browse files

target/i386: Add ARCH_CAPABILITIES related bits into Icelake-Server CPU model



Current Icelake-Server CPU model lacks all the features enumerated by
MSR_IA32_ARCH_CAPABILITIES.

Add them, so that guest of "Icelake-Server" can see all of them.

Signed-off-by: default avatarXiaoyao Li <xiaoyao.li@intel.com>
Message-Id: <20200316095605.12318-1-xiaoyao.li@intel.com>
Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
parent ddc2fc9e
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -3471,6 +3471,19 @@ static X86CPUDefinition builtin_x86_defs[] = {
                    { /* end of list */ }
                },
            },
            {
                .version = 3,
                .props = (PropValue[]) {
                    { "arch-capabilities", "on" },
                    { "rdctl-no", "on" },
                    { "ibrs-all", "on" },
                    { "skip-l1dfl-vmentry", "on" },
                    { "mds-no", "on" },
                    { "pschange-mc-no", "on" },
                    { "taa-no", "on" },
                    { /* end of list */ }
                },
            },
            { /* end of list */ }
        }
    },