mbox series

[v2,0/2] ppc: Rename power5+ and power7+ for the new QOM naming rules

Message ID 20240117141054.73841-1-thuth@redhat.com
Headers show
Series ppc: Rename power5+ and power7+ for the new QOM naming rules | expand

Message

Thomas Huth Jan. 17, 2024, 2:10 p.m. UTC
We can get rid of the "power5+" / "power7+" hack in qom/object.c
by using CPU aliases for those names instead (first patch).

I think in the long run, we should get rid of the names with a "+"
in it completely, so the second patch suggests to deprecate those,
but I'd also be fine if we keep the aliases around, so in that case
please ignore the second patch.

v2:
 - Use "power5p" / "power7p" instead of "power5plus" / "power7plus"

Thomas Huth (2):
  target/ppc/cpu-models: Rename power5+ and power7+ for new QOM naming
    rules
  docs/about: Deprecate the old "power5+" and "power7+" CPU names

 docs/about/deprecated.rst |  9 +++++++++
 hw/ppc/spapr_cpu_core.c   |  4 ++--
 qom/object.c              |  4 ----
 target/ppc/cpu-models.c   | 10 ++++++----
 4 files changed, 17 insertions(+), 10 deletions(-)