OSDN Git Service

target/i386: Add CPU model versions supporting 'xsaves'
authorVitaly Kuznetsov <vkuznets@redhat.com>
Mon, 12 Apr 2021 07:39:52 +0000 (09:39 +0200)
committerEduardo Habkost <ehabkost@redhat.com>
Mon, 31 May 2021 19:53:02 +0000 (15:53 -0400)
commit7bde6b18575dd79c26ce1616e0c33151e83d9d7e
treeba1fbf7da6999835983f41cb76cc089edc6a6940
parent52848929b70dcf92a68aedcfd90207be81ba3274
target/i386: Add CPU model versions supporting 'xsaves'

Hyper-V 2016 refuses to boot on Skylake+ CPU models because they lack
'xsaves'/'vmx-xsaves' features and this diverges from real hardware. The
same issue emerges with AMD "EPYC" CPU model prior to version 3 which got
'xsaves' added. EPYC-Rome/EPYC-Milan CPU models have 'xsaves' enabled from
the very beginning so the comment blaming KVM to explain why other CPUs
lack 'xsaves' is likely outdated.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Message-Id: <20210412073952.860944-1-vkuznets@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
target/i386/cpu.c