avocado-framework / avocado-vt

Avocado VT Plugin
https://avocado-vt.readthedocs.org/
Other
83 stars 243 forks source link

x86_cpu_models: update cpu models category #3974

Closed nanliu-r closed 4 weeks ago

nanliu-r commented 2 months ago

ID: 3974

Need to add versioned CPU models into category

nanliu-r commented 4 weeks ago

For AMD, will add the versioned CPU models for EPYC and newer.

For Intel, will add the versioned CPU models for Icelake and newer, except CPU model "Snowridge" which has been deprecated since rhel10.

Will consider add more versioned CPU models gradually in future instead of adding them all once in case there is any bad regression issue.

FEEDBACK from Developer

And normally CPU features cannot change because if they do, things are going to break upon migration, e.g. a feature may suddenly appear or disappear. When we need to change features, we introduce a new version of a CPU model, see e.g Skylake-Server-noTSX-IBRS, Skylake-Server-v5 and so on. We need to guarantee the guest ABI compatibility.

nanliu-r commented 4 weeks ago

Test PASS on following hardware products. AMD:

  1. EPYC
  2. EPYC-Rome
  3. EPYC-Milan
  4. EPYC-Genoa

Intel:

  1. Icelaker Server
  2. Cooperlake
  3. Sapphire Rapids

Test scenarios covering RHEL and Windows VM.

@PaulYuuu @luckyh @yanan-fu Please help review this patch, thanks!