Commit e0013791 authored by Chenyi Qiang's avatar Chenyi Qiang Committed by Eduardo Habkost
Browse files

target/i386: fix model number and add missing features for Icelake-Server CPU model



Add the missing features(sha_ni, avx512ifma, rdpid, fsrm,
vmx-rdseed-exit, vmx-pml, vmx-eptp-switching) and change the model
number to 106 in the Icelake-Server-v4 CPU model.

Signed-off-by: default avatarChenyi Qiang <chenyi.qiang@intel.com>
Message-Id: <20200714084148.26690-3-chenyi.qiang@intel.com>
Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
parent 5cb287d2
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -3512,6 +3512,20 @@ static X86CPUDefinition builtin_x86_defs[] = {
                    { /* end of list */ }
                },
            },
            {
                .version = 4,
                .props = (PropValue[]) {
                    { "sha-ni", "on" },
                    { "avx512ifma", "on" },
                    { "rdpid", "on" },
                    { "fsrm", "on" },
                    { "vmx-rdseed-exit", "on" },
                    { "vmx-pml", "on" },
                    { "vmx-eptp-switching", "on" },
                    { "model", "106" },
                    { /* end of list */ }
                },
            },
            { /* end of list */ }
        }
    },